cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
danbi1991
Microsoft
Microsoft

Send Email with Image in Body

Hi All, 

 

I want to automate sending email with Image file in Body and the flow will be trigged by schedule. 

The image file is in local machine I want the image file is embedded in email body not attached as attachments.

So I'd like to ask how can I set the flow in Power Automate Desktop. 

Is it possible if I use <img src='local path'> in flow? I'm really new person for PAD so any comments would be appreciated.   

2 REPLIES 2
VJR
Solution Sage
Solution Sage

Hi @danbi1991 

 

Haven't tried this in PAD but whether it is PAD or any other RPA tool, for sending any email with image embedded in body, at first that image needs to be attached to the email and then pass the cid (ContentId) of that image in the image tag you have mentioned. You will get html code related to this on the internet.

VJR
Solution Sage
Solution Sage

Hi @danbi1991 

 

I tried out what I mentioned to you and it works.

Not sure if you are using Outlook but this is how the flow is.

 

VJR_0-1637926561203.png

 

 

This is how I passed the image name with the content id in the html.

<img src='cid:%ImageName%'>

 

 

VJR_1-1637926665407.png

 

 

This is the output with image embedded in the mail body.

 

VJR_2-1637926817609.png

 

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (2,984)