Hi,
Is there a way to insert an image in the Email body when sending email using Send Email (V3)?
I have tried <img src="https://imagelink/images/image.png"> but can't get it to work.
Thank you
Solved! Go to Solution.
After all I have managed to make it work.
The steps I took were
1. Upload the image file on Onedrive(Personal)
2. Use Get file content using path from Onedrive(Personal) list of commands, before the Send Email (V3)
3. In the Email body I typed
<img src="data:@{outputs('Get_file_content_using_path')?['body']['$content-type']};base64,@{outputs('Get_file_content_using_path')?['body']['$content']}" />
E voila!
So far tested with Outlook and Gmail and it works fine.
Thanks
Hi @Galanopd
Take a look @Paulie78's post on doing this here https://www.tachytelic.net/2021/02/power-automate-embed-image-email/
It covers all of the options.
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Cheers,
Damien
P.S. take a look at my new blog here and like & subscribe to my YouTube Channel thanks 😉
Hi,
Thank you for your answer but I am afraid that the link refers to "Generally, people want to include images stored within SharePoint, and this will be the basis of this blog post."
What if it is not an image within Sharepoint and it is an image on Onedrive(Personal) or an image from an external link to my website.
Thank you
Hey @Galanopd
You can embed the base64 image if you are able to get the file content first? Sounds like you have multiple sources, you might need some logic to handle this.
https://www.w3docs.com/snippets/html/how-to-display-base64-images-in-html.html
I've actually done something very similar to this here https://www.damobird365.com/awesome-create-charts-via-office-scripts/ where I embed images into HTML, Teams or Email from Excel using Office Scripts.
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Cheers,
Damien
P.S. take a look at my new blog here and like & subscribe to my YouTube Channel thanks 😉
After all I have managed to make it work.
The steps I took were
1. Upload the image file on Onedrive(Personal)
2. Use Get file content using path from Onedrive(Personal) list of commands, before the Send Email (V3)
3. In the Email body I typed
<img src="data:@{outputs('Get_file_content_using_path')?['body']['$content-type']};base64,@{outputs('Get_file_content_using_path')?['body']['$content']}" />
E voila!
So far tested with Outlook and Gmail and it works fine.
Thanks
User | Count |
---|---|
103 | |
36 | |
29 | |
25 | |
16 |
User | Count |
---|---|
134 | |
53 | |
53 | |
36 | |
26 |