cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
NathanFra
Helper I
Helper I

Sending email to user currently using powerapp

Currently, the application has a button built in that uses the onselect of ; Office365Outlook_1.SendEmail(User().Email,"Patient Valuable Log", HtmltoEmail.HtmlText, {IsHtml:true})

 

It works fine for sending the HTML table of listed items to the email. The only issue is they want the email to be sent from a 'Master' account that they do not have access to.

 

So I went through the Power Automate route, the only thing I am stuck on is this ---

 

I want the user that is currently using the app to be the one that receives the email when they click the 'Send to Email button in the app. I have the flow setup so that it will send the email, the only thing I am struggling with is how Automate knows who is currently using the app for the 'Send an Email (V2)'s recipient field. 

1 ACCEPTED SOLUTION

Accepted Solutions
DeepakS
Super User
Super User

Hi @NathanFra , When you call your flow from Power Apps button pass the user email [user().Email], and use this email in your flow.

 

Regards,

DS

View solution in original post

1 REPLY 1
DeepakS
Super User
Super User

Hi @NathanFra , When you call your flow from Power Apps button pass the user email [user().Email], and use this email in your flow.

 

Regards,

DS

View solution in original post

Helpful resources

Announcements
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

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

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Users online (41,379)