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

How to include 'Edit rich Textbox' content, which is htmltext, in email body

Hi, I am facing issue including the content of 'Edit rich Textbox' in email body

 

Office365.SendEmail("to e-mail", "Object", DataCardValue71_1.HtmlText, {IsHtml:true})

 

Error:  Office365.SendEmail failed: The method 'SendEmail' has an invalid value for parameter 'Body'

 

Please guide how to fix it

 

Thanks In Advance 🙂

1 ACCEPTED SOLUTION

Accepted Solutions

Hi ,

 

Finally figured it out, the workAround is to use HTML text component outside the form and then set its htmltext value to datacardvalue.htmltext

 

and now put HTML text component's htmltext as your email body.

 

Thanks,

Mohit

View solution in original post

3 REPLIES 3
v-monli-msft
Community Support
Community Support

Hi @beniwal ,

 

Please check if below blog could help:

https://powerapps.microsoft.com/en-us/blog/html-email-reporting-with-tabular-data/

 

Regards,

Mona

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

hi @v-monli-msft 

 

Thanks for Sharing the blog link. However, it seems it doesn't work the same way in case of the Rich textbox.

 

Actually, I wrote the formula that I have shared, after going through the same blog.

 

 

 

Hi ,

 

Finally figured it out, the workAround is to use HTML text component outside the form and then set its htmltext value to datacardvalue.htmltext

 

and now put HTML text component's htmltext as your email body.

 

Thanks,

Mohit

View solution in original post

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

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,897)