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

Helpful resources

Announcements
Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Top Kudoed Authors
Users online (3,428)