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

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
Resident Rockstar
Resident Rockstar

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
Resident Rockstar
Resident Rockstar

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

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (4,983)