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

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 III
Super User III

@gabvleon 

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 III
Super User III

@gabvleon 

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
MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

Top Solution Authors
Users online (49,861)