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
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (3,341)