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 Apps Africa Challenge 2022

Power Apps Africa Challenge

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

Super User 2 - 2022 Congratulations

Welcome Super Users

The Super User program for 2022 - Season 2 has kicked off!

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Government Carousel

New forum: GCC, GCCH, DoD - Federal App Makers (FAM)

In response to the unique and evolving requirements of the United States public sector, Microsoft has created Power Apps US Government.

Users online (1,762)