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
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Users online (3,064)