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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Trying to add a Carria...
Power Apps
Unanswered

Trying to add a Carriage Return in Email Body

(0) ShareShare
ReportReport
Posted on by 10

Newbie here... I am trying to insert a carriage return in a hardcoded email, but the Char(13) is not working, I also tried Char(10), Split(), and <br>, all to no avail. You can see in the code below where I am wanting the carriage return. Please help!

 

Office365Outlook.SendEmailV2(
LookUp('Project Data',Title = RREWInput.Selected.Result).'RREW Manager Email', "Load Quality Audit for " & ProjectInput.Selected.'Store Number' & " on " & Today(), "Hi Team, " & Char(13) & "On" & Today() & " your load was audited for project " & ProjectInput.Selected.'Store Number' & ". Your load was rated as " & ConditionSelection.Selected.Result & ". " & "The following reasons were listed to explain the raiting:" & Char(13) & ActualSelection.Text & Char(13) & "Please see photo's attached", {Importance: "High", Attachments: LoadImages}
);

Categories:
I have the same question (0)
  • Verified answer
    RandyHayes Profile Picture
    76,297 Super User 2024 Season 1 on at

    @Madhatter071 

    Your formula should be:

    Office365Outlook.SendEmailV2(
     LookUp('Project Data', Title = RREWInput.Selected.Result).'RREW Manager Email', 
    
     "Load Quality Audit for " & ProjectInput.Selected.'Store Number' & " on " & Today(), 
    
     "Hi Team, <br>
     On" & Today() & " your load was audited for project " & ProjectInput.Selected.'Store Number' & ". Your load was rated as " & ConditionSelection.Selected.Result & ". The following reasons were listed to explain the raiting: <br>" & ActualSelection.Text & "<br>" & "Please see photo's attached", 
    
     {Importance: "High", Attachments: LoadImages}
    );

     

    Also by using the concat shortcut ($), you can change to:

    Office365Outlook.SendEmailV2(
     LookUp('Project Data', Title = RREWInput.Selected.Result).'RREW Manager Email', 
    
     $"Load Quality Audit for {ProjectInput.Selected.'Store Number'} on {Text(Today(), ShortDate)}", 
    
     $"Hi Team, <br>
     On {Text(Today(), ShortDate)} your load was audited for project {ProjectInput.Selected.'Store Number'}. Your load was rated as {ConditionSelection.Selected.Result}. The following reasons were listed to explain the raiting: <br>
     {ActualSelection.Text}<br>
     Please see photo's attached", 
    
     {Importance: "High", Attachments: LoadImages}
    );

     

    I hope this is helpful for you.

  • Verified answer
    Pstork1 Profile Picture
    68,697 Most Valuable Professional on at

    When you used the <br> did you put it in quotes?

    Office365Outlook.SendEmailV2(
    LookUp('Project Data',Title = RREWInput.Selected.Result).'RREW Manager Email', "Load Quality Audit for " & ProjectInput.Selected.'Store Number' & " on " & Today(), "Hi Team, <br>" & "On" & Today() & " your load was audited for project " & ProjectInput.Selected.'Store Number' & ". Your load was rated as " & ConditionSelection.Selected.Result & ". " & "The following reasons were listed to explain the raiting:<br>" & ActualSelection.Text & "<br>" & "Please see photo's attached", {Importance: "High", Attachments: LoadImages}
    );
  • Madhatter071 Profile Picture
    10 on at

    Yes, that worked!!

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 793 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 333 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard