cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Elliebai
Frequent Visitor

Send email in powerapps with normal email format

Hello guys,

 

I know how to send an email with attachment by clicking a button in Powerapps. But everything is packed together.

 

Now:HelloXXXX"this is the body""here is the signature"

 

Expected email format :

HelloXXXX,

"this is the body"

"here is the signature"

 

Appreciated for you heeeeeeeeeeeeeelp in advance!

1 ACCEPTED SOLUTION

Accepted Solutions
v-yutliu-msft
Community Support
Community Support

Hi @Elliebai ,

Do you want to send email in the format that you want?
If so, you just need to send email body by using html body.

Based on the format that you listed, you just need to use "<br>xxx</br>" in your every row. (represents html tag for line breaking)

Try this formula:

Office365Outlook.SendEmail(to,subject,
"<br>HelloXXXX,</br><br>this is the body</br><br>here is the signature</br>",
{IsHtml:true})

Then the email body will look like this:

622.PNG

 The key point of your issue is about how to use html text in your email body.

I suggest you know more about html tags:

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

 

 

 

Best regards,

Community Support Team _ Phoebe Liu
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

3 REPLIES 3
eka24
Super User
Super User

Same issue has been solved this post;

 

https://powerusers.microsoft.com/t5/Building-Power-Apps/Char-10-and-Char-13/td-p/201334

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

v-yutliu-msft
Community Support
Community Support

Hi @Elliebai ,

Do you want to send email in the format that you want?
If so, you just need to send email body by using html body.

Based on the format that you listed, you just need to use "<br>xxx</br>" in your every row. (represents html tag for line breaking)

Try this formula:

Office365Outlook.SendEmail(to,subject,
"<br>HelloXXXX,</br><br>this is the body</br><br>here is the signature</br>",
{IsHtml:true})

Then the email body will look like this:

622.PNG

 The key point of your issue is about how to use html text in your email body.

I suggest you know more about html tags:

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

 

 

 

Best regards,

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

hi ,

 

I have tried your solution, but it seems that it doesn't work.

Screenshot (123)_LI.jpg

Helpful resources

Announcements
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.

Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on June 15, 2022 at 8am PDT.

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Top Kudoed Authors
Users online (4,249)