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 / Adding a picture or a ...
Power Apps
Unanswered

Adding a picture or a html to and email using mailto

(0) ShareShare
ReportReport
Posted on by

Hello ,

The scenario is we have an email we need to send using mailto control , the body of the email is in a text box we tried to add an image and it didn't work 

 

Narmer1511_0-1717651880929.png

tried to add it as an HTML and also it didnt work 

 

Narmer1511_1-1717651961571.png

 

any advices ? 

Categories:
I have the same question (0)
  • anandm08 Profile Picture
    1,936 Super User 2024 Season 2 on at

    hi @Narmer1511 ,

    At first, create a variable encodedPicture and use JSON function to convert picture into base64 encoded string

    Set(encodedPicture,JSON(PictureFromGallery,JSONFormat.IncludeBinaryData))

    Then use this variable in your HTML, like:

    <img src="& encodedPicture &" title='my BASE64 encoded picture"/>
  • Narmer1511 Profile Picture
    on at

    the code added and the image appeared in the html box  but it didn't work , the mail popup didn't even open 

    Narmer1511_0-1717654411512.pngNarmer1511_1-1717654432510.png

     

  • anandm08 Profile Picture
    1,936 Super User 2024 Season 2 on at

    ok than mailto has no option to add attachments

     

    You could possible provide a link to where the attachment is stored but no provision to open client and attach the document

  • Narmer1511 Profile Picture
    on at

    its not the attachment i need to add a picture with the body of the email .

  • Narmer1511 Profile Picture
    on at

    @RezaDorrani any ideas ?

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 711 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard