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 / HTML Control link to m...
Power Apps
Unanswered

HTML Control link to mailto

(0) ShareShare
ReportReport
Posted on by 3,284

Hello community.

I was wondering if this is possible?

I have a Html Text control and inside some text and a link with "mailto:person@email.com". When I click in the link the app open the mail client, but I would like to open a popup and send the email within the app and avoid any navigation outside of the app.

 

Could this be done? If so could please point me in the right direction?

 

Thanks in advance 

Categories:
I have the same question (0)
  • timl Profile Picture
    36,863 Super User 2026 Season 1 on at

    Hi @sajarac 

    This isn't possible.

    As an alternative to using "mailto:", you could maybe build your own email composition form and to send the message by calling the Outlook 365 (sendmail) connector?

    https://learn.microsoft.com/en-us/connectors/office365

     

     

  • Sajarac Profile Picture
    3,284 on at

    Hey @timl , thank you very much for your prompt response. How can I trigger the email composition form, from the link located inside the html text?

  • iAm_ManCat Profile Picture
    18,256 Most Valuable Professional on at

    Hi @sajarac 

     

    You should not use HTMLText controls for any Power-Apps interactive elements (you can use html interactive elements but simplified tab index setting for the App must be on), as they are by definition not able to function as a button and the guidance from Microsoft says to not use them as such

  • iAm_ManCat Profile Picture
    18,256 Most Valuable Professional on at

    I would instead have a gallery of buttons that splits the text and pulls all email addresses from it, that way you could have a button to email each by clicking the individual rows

  • timl Profile Picture
    36,863 Super User 2026 Season 1 on at

    Hi @sajarac 

    This would be quite difficult to do. Is the case that your HTML text comes from source that you can't control (eg, it contains the content of an incomming email?)

     

    If your HTML text would only ever contain 1 mailto link, you could try to trigger the email composition form from the OnSelect of the HTML text control.

    Otherwise, @iAm_ManCat 's approach of splitting the emails into a gallery control could be the best approach.

  • Sajarac Profile Picture
    3,284 on at

    Thank you very much both for the help. The html text came from a Sharepoint column with rich text property enabled. And I have all the formatting tables links inside . Which I would like to keep it as it is.

    I guess maybe adding an additional column with the email and then adding an icon to trigger the email pop up.

     

  • timl Profile Picture
    36,863 Super User 2026 Season 1 on at

    Hi @sajarac 

    This sounds like a great idea!

    >> I guess maybe adding an additional column with the email and then adding an icon to trigger the email pop up.

     

     

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 1,027

#2
Valantis Profile Picture

Valantis 644

#3
11manish Profile Picture

11manish 626

Last 30 days Overall leaderboard