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 / Add HTML to Power Apps...
Power Apps
Answered

Add HTML to Power Apps Send Email

(0) ShareShare
ReportReport
Posted on by 5,331 Moderator

I am using Power Apps to trigger an email with a button.

Everything is working and the email is received into the inbox as desired, however there are segments of the email I'd like to emphasize.

For example, in the below everything inside the single quotes should be bold.

Can I achieve this in a Power Apps button send email code WITHOUT using a html input field?

"The following 'XXXXX XXXX' event status has been updated to 'Approved by...'.

Currently the structure of the email code is as follows (how do I edit the code to make ONLY the Approved by... bold?):

Office365Outlook.SendEmailV2("Email Recipient","Subject Line","The following 'XXXXX XXXX' event status has been updated to 'Approved by Legal'. <a href='https://................................'>
<p>

Link to Database </a> ")

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    155,344 Most Valuable Professional on at

    @Phineas ,

    Something like this - I am not sure what you mean by WITHOUT using a html input field - you already have HTML code in there.

    Office365Outlook.SendEmailV2(
    	"Email Recipient",
    	"Subject Line",
    	"The following 'XXXXX XXXX' event status has been updated to <b>'Approved by Legal'</b>. <a href='https://......'>Link to Database</a> "
    )

     

    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.

    MVP (Business Applications)   Visit my blog Practical Power Apps

     

  • Phineas Profile Picture
    5,331 Moderator on at

    Yes, I realize that I have html associated with the 'link'.

    My issue is that I am attempting to emphasize (in bold) the output of a TextLabel.Text field in the body.

    I previously tried to introduce the tags into the formula (as shown below) in a similar way to your suggestion, I got errors. If allowed, where should the tags be placed?

    Office365Outlook.SendEmailV2("Email Recipient","Subject Line","The status of meeting request " <b> &"'"& MeetingSubjectFld.Text &"'"& </b> is pending your review and decision. <a href='href='https://................................'>
    <p>
    Link to Meeting Database </a? "));

    Email body should look like - 

    The status of meeting request 'Operation Dinner Out' is pending your review and decision. 

    Link to Meeting Database

  • Verified answer
    WarrenBelz Profile Picture
    155,344 Most Valuable Professional on at

    @Phineas ,

    It should be like this

    Office365Outlook.SendEmailV2(
     "Email Recipient",
     "Subject Line",
     "The status of meeting request <b>" & MeetingSubjectFld.Text & "</b> is pending your review and decision. 
     <p><a href='https://...........'>Link to Meeting Database</a></p>"
    );

     

    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.

    MVP (Business Applications)   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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 883

#2
Valantis Profile Picture

Valantis 571

#3
11manish Profile Picture

11manish 477

Last 30 days Overall leaderboard