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 edit HTML for a...
Power Apps
Answered

How to edit HTML for an email that impacts labels.

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi there,

 

I have the below input for the OnSelect category for a button in my app. It currently works, but I want to make some aesthetic changes to the end result, if possible.

 

Basically, the end user of the app will input a variety of information into the fields provided, then they select a button that pops up a drafted email including the information they just input. Is there a way to indent the information (starting at & Label2, ending just before &"Please let me know...) & also bold all the labels? I tried adding &"<b>"& and &"</b>"& before/after each label but that didn't work.

 

Please let me know of any solutions you can think of!

 

Thank you! 🙂

 

 

Launch("mailto:test@test.com?cc=test@test.com; test@test.com&subject= NAME - CLIENT - START DATE&body=Hello,%0D%0A %0D%0A
We have a new start who needs processed, please see their information below:%0D%0A %0D%0A"
& Label2 & " = " & TextInput1 & "%0D%0A"
& Label2_1 & " = " & TextInput1_1 & "%0D%0A"
& Label2_2 & " = " & TextInput1_2 & "%0D%0A"
& Label2_3 & " = " & DatePicker1.SelectedDate & "%0D%0A"
& Label2_4 & " = " & Dropdown1.Selected.Value & "%0D%0A"
& Label2_5 & " = " & Dropdown1_1.Selected.Value & "%0D%0A"
& Label2_7 & " = " & TextInput1_7 & "%0D%0A"
& Label2_8 & " = " & TextInput1_8 & "%0D%0A"
& If(Dropdown1_2.Selected.Value="Yes"||"No", Label2_6 & " = " & Dropdown1_2.Selected.Value & "%0D%0A %0D%0A","%0D%0A")
& "Please let me know if you have any questions. %0D%0A %0D%0A
Thank you,"
)

 

  

Categories:
  • Verified answer
    WarrenBelz Profile Picture
    156,958 Most Valuable Professional on at

    Hi @Anonymous ,

    Firstly, are you sending the test through the Office365Outlook connector or a simple Mailto function ? I suspect the latter as you are using hex for the line breaks rather than <br>. If so, you cannot format the result of this.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    Visit my blog Practical Power Apps

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 232 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 202 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 122

Last 30 days Overall leaderboard