web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / How to add line breaks...
Power Apps
Unanswered

How to add line breaks on email body from the DataCard Value in powerapps

(0) ShareShare
ReportReport
Posted on by 150

Hello! need help please!

 

I'm having an issue how to add line breaks on on the email message body. 

im using a sharepoint list as a data source so some of the information needed to send the email are already pre-loaded like, Email add, CC address, Subject and the body (please refer to image).

 

abbyamante_0-1680643814484.png

 

Everything is working properly but the body of the message does not have the line breaks when the email is received. The result is one line of sentence on the email. (please see email result image)

 

abbyamante_1-1680644033844.png

 

even though the body has the line breaks originally from the DataCard Value it doesnt reflect when the email is received.

Here's the function on the "Send Email" Button onSelect property

 

 

Office365Outlook.SendEmailV2(To_EmailAdd.Text,'Subject:_DataCardValue'.Text,Body_DataCardValue.Text,{Cc: 'CC:_DataCardValue'.Text})

 

 

 

Please help! im stuck on this for months.

Thank you in Advance!

 

Categories:
  • mmollet Profile Picture
    3,187 on at

    you could try to use Char(10) or Char(13) depending on the program beign used or even use a hidden HTML box to format the body of the email. If you use the HTML option make sure you also include the optional parameter {IsHtml: true} at the end of the function.

  • abbyamante Profile Picture
    150 on at

    Hello! 

    i have tried to changed the datacard value to html but im getting the same results. Can you please give the exact code and what property to put into? Not a Coding expert here I basically built apps out of googling. 😅

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 345 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 225

#3
M Bilal Khan Profile Picture

M Bilal Khan 192

Last 30 days Overall leaderboard