cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

send email with dynamic content in the body

help. I need to make an app where I can submit order requests. I want it to send an email containing all of the information the user inputted. i have been trying different things but I'm stuck

 

 

powerapp4.JPGpowerapp3.JPGpowerapp2.JPGpowerapp.JPG

17 REPLIES 17
shoog
Super User
Super User

You can use standard html in the body of the SendEmailV2 function.

Anonymous
Not applicable

what do you mean by that

Anonymous
Not applicable

a396076_0-1638970166798.png

tried this and it did not work

 

shoog
Super User
Super User

You use the html inside the body text, for example:

Office365Outlook.SendEmailV2("someone@yourcompany.com", "test", "normal<br><b>bold</b><br><i>italic</i>")

 

If you don't know much html, this website is highly recommended.

Anonymous
Not applicable

a396076_0-1639049440139.png

okay but how do you embed the dynamic content?

Anonymous
Not applicable

a396076_0-1639052951488.png

a396076_1-1639052989298.png

 

 

Keep the dynamic values out of the strings, something like

"Following...<br><br><b>" & Dropdown4.Selected.Value & "</b><br><br>Item: <br><b>" & Dropdown1.Selected.Value & "</b><br>Quantity..."
Anonymous
Not applicable

Thank you so much for all of your help

Helpful resources

Announcements
PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Top Solution Authors
Top Kudoed Authors
Users online (2,607)