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

launch Email with Html Data table in body

Hi Guys,

 

I am trying to launch a email and want a table in the body but i do not want to send email.

 

https://powerusers.microsoft.com/t5/Building-PowerApps-Formerly/Data-Table-to-Email-in-PowerApps/td-...

 

when i try Office365Outlook.SendEmail("viv.co.in@gmail.com","Case_ID:" & Value(Label4.Text),HtmlText1.HtmlText,{IsHtml:true}), it works perfectly fine but it sends a email.

 

when i try Launch("mailto:"&Label51.Text&"?Subject=Case_ID:"&Label4.Text&"&body="&HtmlText1.HtmlText), it launches a email but the body looks like below instaed of a table.

 

*******************

<!DOCTYPE+html>
<html>
<head>
<style>
Table,+th,+td+{
++border:+1px+solid+black;
}
</style>
</head>
<body>
<h2>Required+Files</h2>
<table+style='width:100%'>
++<tr>
++++<th>File+Name</th>
++++<th>File+Link</th>+
++++<th>File+Type</th>
++</tr></Table>
</body>
</html>

************************************

 

Any solution for this?

 

1 ACCEPTED SOLUTION

Accepted Solutions
v-xida-msft
Community Support
Community Support

Hi @Anonymous ,

Could you please share a bit more about your scenario?

Do you want to launch Outlook client app from your PowerApps app, then populate the email body with a HTML Table?

 

If you want to launch Outlook client app from your PowerApps app, then populate the email body with a HTML Table, I afraid that there is no way to achieve your needs in PowerApps currently.

 

When you use Launch function to launch your Outlook client app, the entered HTML text value would be added as Plain Text value into the email body of the email, the Html text vaue wuold not be redered as proper HTML data structure.

 

If you would like this feature to be added in PowerApps, please submit an idea to PowerApps Ideas Forum:

https://powerusers.microsoft.com/t5/PowerApps-Ideas/idb-p/PowerAppsIdeas

 

Best regards,

Community Support Team _ Kris Dai
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

1 REPLY 1
v-xida-msft
Community Support
Community Support

Hi @Anonymous ,

Could you please share a bit more about your scenario?

Do you want to launch Outlook client app from your PowerApps app, then populate the email body with a HTML Table?

 

If you want to launch Outlook client app from your PowerApps app, then populate the email body with a HTML Table, I afraid that there is no way to achieve your needs in PowerApps currently.

 

When you use Launch function to launch your Outlook client app, the entered HTML text value would be added as Plain Text value into the email body of the email, the Html text vaue wuold not be redered as proper HTML data structure.

 

If you would like this feature to be added in PowerApps, please submit an idea to PowerApps Ideas Forum:

https://powerusers.microsoft.com/t5/PowerApps-Ideas/idb-p/PowerAppsIdeas

 

Best regards,

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

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.

Users online (4,686)