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
Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on August 17, 2022 at 8am PDT.

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (1,537)