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

How to fill the To field when using Send Email

I'm currently learning to work with Power Automate and PowerApps, and I'm trying to build a flow with Ask In PowerApps.

 

I've build an canvas app with a field for subject and body. I've added a button, clicked the tab Action and started to build a flow. So far so good.

 

But the field To in Send Email (V2) is a required field. I can't add a string there. In Dynamic Content no options are shown apart from Ask in PowerApps. I've tried to fill the field with User().Email, but that doesn't work either.

 

How can I build this type of flow?

1 ACCEPTED SOLUTION

Accepted Solutions
Mira_Ghaly
Dual Super User II
Dual Super User II

@EllenHeijmans

Try to pass the Email from canvas app to the flow and on the To choose to Enter custom value and choose the passed parameter 

If this post helps you with your problem, please mark your as Accepted solution.If you like my response, please give it a Thumbs Up.

Blog: here

View solution in original post

2 REPLIES 2
Mira_Ghaly
Dual Super User II
Dual Super User II

@EllenHeijmans

Try to pass the Email from canvas app to the flow and on the To choose to Enter custom value and choose the passed parameter 

If this post helps you with your problem, please mark your as Accepted solution.If you like my response, please give it a Thumbs Up.

Blog: here

View solution in original post

Thanks for your message @Mira_Ghaly.

 

I had an error when sending mail, but I found that the order of the parameters wasn't the same order as the fields in the flow step.

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.

Top Solution Authors
Top Kudoed Authors
Users online (1,153)