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

HTML Email body shows: Show your HTML text here.

Hello,

 

I have created a Flow that sends an email showing the HTML body to an email adress. However most of the time it sends me the default HTML format..

 

Basically I have the same problem as this guy: https://powerusers.microsoft.com/t5/Creating-Apps/HTML-Email-Body-returns-Show-your-HTML-text-here/m... But I haven't got a action going on in the OnSelect of a button.

 

I simply made a Flow instead of that (it works the same) but I don't understand how it doesn't send me the info I need.

I have tried adding an delay between the step that it sends an e-mail and after it runs the flow, because I thought it maybe sends its too quick... but that didn't help.

 

 

 

 

flow.PNG

 

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
v-litu-msft
Community Support
Community Support

Hi @Fouad,

 

Yes, it could also work in the action Send an email from a shared mailbox (V2 ), the way to insert the data you want, you can use the dynamic content and expression. For example, I get the data from a SharePoint item, I insert data into the Email body as dynamic content and expression, send an email, it will show what I put, you can have a try.Annotation 2019-09-16 180125.png

Annotation 2019-09-16 175823.png

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

View solution in original post

5 REPLIES 5
v-litu-msft
Community Support
Community Support

Hi @Fouad,

 

Please use the Send email (V2) action to send the Html Email body:

Click the Code view, then put the Html code into the Body, please have a try:

Annotation 2019-09-13 154555.pngAnnotation 2019-09-13 154526.png

Result view:Annotation 2019-09-13 154244.png

 

 

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

If that would work, that would be awesome.. but how would it be able to get information out of those datacardvalues? Because.. it does send in HTML but will it also gather data from those fields that has been written on the form as your picture shows otherwise. 😕

 

Also would you also be able to do this in the flow Send an email from a shared mailbox V2? Because it doesn't let me turn HTML on Yes or No.

v-litu-msft
Community Support
Community Support

Hi @Fouad,

 

Yes, it could also work in the action Send an email from a shared mailbox (V2 ), the way to insert the data you want, you can use the dynamic content and expression. For example, I get the data from a SharePoint item, I insert data into the Email body as dynamic content and expression, send an email, it will show what I put, you can have a try.Annotation 2019-09-16 180125.png

Annotation 2019-09-16 175823.png

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

View solution in original post

You know what I find really strange though? Everything works just as how it should work in the Preview/Editing mode.
But when I post my Canvas App on a SharePoint page by (App ID) In other words.. if I set my App Live it won't gather the DataCardValues.. and sends a HTML Page with no information at all.

 

 

This is the mail I get whenever I fill in the form in Editing mode: 

Vol.PNG

 

 

This is how it looks like when I try it when I posted the Canvas App in Live mode:

Form in SP mode:

Form in SP.png


T

v-litu-msft
Community Support
Community Support

Hi @Fouad,

 

How did you create the canvas app? Could you please share the configuration?

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (2,370)