cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Send email from the user that updated/created the item

I want to send an e-mail when an item is updated or created on a  Sharepoint list.
I've created a flow that is triggered when that happens.
However, the e-mail is sent by me and I want it to be sent by the person who updated/created the item. 
I found this exemple, but, in my flow does not appear "User email", just "Editor.Email". 
I tried to use the "Editor.Email" (triggerBody()?['Editor']?['Email']) but the flow fails because :
"You are not authorized to send email on behalf of the specified sending account."
 

 Capturar.PNG

 
 

Also, I have a expression in powerapps that sends the same email from the user and it works.

1 ACCEPTED SOLUTION

Accepted Solutions
ScottShearer
Super User
Super User

@Anonymous 

Unless the Flow is connected to a Power App, you will not be able to send the email as the person who created or updated the item unless all of those users grant you "Send as" permission which is likely not practical.  

Two alternatives to having the email sent as you are to use the "Send an email notification" action - the email with show as being from "Power Apps or Flow".  Another option is to have the email sent from a shared mailbox - this assumes that you have permissions to do so.

 

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott

View solution in original post

1 REPLY 1
ScottShearer
Super User
Super User

@Anonymous 

Unless the Flow is connected to a Power App, you will not be able to send the email as the person who created or updated the item unless all of those users grant you "Send as" permission which is likely not practical.  

Two alternatives to having the email sent as you are to use the "Send an email notification" action - the email with show as being from "Power Apps or Flow".  Another option is to have the email sent from a shared mailbox - this assumes that you have permissions to do so.

 

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott

View solution in original post

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (993)