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

Send the submitted form content via email.

Hello Team,

 

I have a form with like 15 questions and I want to send out an email when ssomeone submit the form with the submitted form data. Can someone please guide how I can send the email from powerapps in proper format?

 

Thanks,

1 ACCEPTED SOLUTION

Accepted Solutions
yashag2255
Dual Super User II
Dual Super User II

Hi @vshah804 

 

You can directly send the email through powerapps by adding a connection for Office365 Outlook. This will get the data from the Last Submit entry through the form and send the email to email address provided in the arguments.
 
Expression used: 
SubmitForm(Form2);Office365.SendEmailV2("abc@xyz.com","Form Submitted","Title: "&Form2.LastSubmit.Title&"<br> Person Field:"&Form2.LastSubmit.PersonField.DisplayName&"<br> Date:"&Form2.LastSubmit.DateField)
 
Please modify the expression with the actual names as per our DataSource.MicrosoftTeams-image (177).png

 

Hope this Helps!

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

2 REPLIES 2
yashag2255
Dual Super User II
Dual Super User II

Hi @vshah804 

 

You can directly send the email through powerapps by adding a connection for Office365 Outlook. This will get the data from the Last Submit entry through the form and send the email to email address provided in the arguments.
 
Expression used: 
SubmitForm(Form2);Office365.SendEmailV2("abc@xyz.com","Form Submitted","Title: "&Form2.LastSubmit.Title&"<br> Person Field:"&Form2.LastSubmit.PersonField.DisplayName&"<br> Date:"&Form2.LastSubmit.DateField)
 
Please modify the expression with the actual names as per our DataSource.MicrosoftTeams-image (177).png

 

Hope this Helps!

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

v-yuxima-msft
Community Support
Community Support

Hi @vshah804 

 

Could you please reference @yashag2255 's suggestion, if it works fine, please accept it as solution.

 

More information:

https://powerusers.microsoft.com/t5/Expressions-and-Formulas/Submit-form-and-send-email-with-same-bu...

https://www.youtube.com/watch?v=bF7WkqtxKB0

 

Best Regards.

Yumia

Helpful resources

Announcements
PA 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

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

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

Power Apps June 2021

June Power Apps Community Call

Did you miss the call? Check out the recording here!

Top Solution Authors
Top Kudoed Authors
Users online (24,412)