Notifications
Announcements
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
tried to add it as an HTML and also it didnt work
any advices ?
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"/>
the code added and the image appeared in the html box but it didn't work , the mail popup didn't even open
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
its not the attachment i need to add a picture with the body of the email .
@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.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 711 Most Valuable Professional
Michael E. Gernaey 319 Super User 2025 Season 2
Power Platform 1919 268