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

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

@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.

View solution in original post

2 REPLIES 2
Resident Rockstar
Resident Rockstar

@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.

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
PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Top Solution Authors
Users online (5,762)