cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
d365_katiepage
Regular Visitor

How to define static email address in Email Message's To field

Hi,

 

I need to find a way to send an email to static email address.  Error says Resource was not found.

 

things I have tried:

1. simply typing email

2. 'aaaaa@microsoft.com'-with single quote

3. Define it in To field in advance options.

d365_katiepage_0-1633604878391.png

 

Note: I know if I use this, /contacts(GUID) it will work but GUID will change per environment so we don't want to use this.

 

Thanks.

 

3 REPLIES 3
eric-cheng
Solution Sage
Solution Sage

Hi @d365_katiepage ,

 

Because its pretty much like a lookup, you will need to pass the full entity set name i.e. /contacts(GUID).  To get around changing GUIDS, you can lookup the record using list row in the contacts table and return the GUID of the contact that way.

 

--------------------------------------------------------------------------
If I have answered your question, please mark my post as a solution
If you have found my response helpful, please give it a thumbs up

Connect on LinkedIn

 

I think there is a disconnect here. The To field is a static value. It will never change

eric-cheng
Solution Sage
Solution Sage

Hi @d365_katiepage ,

 

The action you are using is different to a send email action in Outlook in that you don't pass in a text string for the email address and send an email.  It needs to be a record in the contacts table.

 

You mentioned in one of your earlier posts the GUID will change depending on the environment which is why I suggested you to lookup the GUID using List Rows.  

 

--------------------------------------------------------------------------
If I have answered your question, please mark my post as a solution
If you have found my response helpful, please give it a thumbs up

Connect on LinkedIn

Helpful resources

Announcements
 WHAT’S NEXT AT MICROSOFT IGNITE 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Register for a Free Workshop.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Users online (3,734)