cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
KJG
Frequent Visitor

Adding Image to Body of Send an Email (V2)

 Hi,

 

I've been researching this site for a while, and I've seen "how-to's" from back when V1 was available, but I can't locate how to add an image to the body an email for V2. I've tried using "Get file content using path" and attaching the image to the email, but users other than myself can't open the image. (The image is saved to a document library on Sharepoint that all users are Limited Contributors on).

 

I then tried to use the <img src="https://URL" alt="Image"> but the image comes through as a red X and says the image cannot be displayed. 

 

Please tell me someone else has known my struggles and can point me in the right direction?? Thank you!

1 ACCEPTED SOLUTION

Accepted Solutions
v-litu-msft
Community Support
Community Support

Hi @KJG,

 

To make the image could show in the Outlook, you could go to the trust center to clear the checkbox against Don’t download pictures automatically in HTML e-mail messages or RSS items. Steps you could refer to this blog:

https://www.nucleustechnologies.com/blog/cannot-see-images-in-outlook-emails-this-post-will-definite...

 

Then Get the file content store in the SharePoint, then use an expression to get the file $content (base64 code):

outputs('Get_file_content_using_path')?['body']['$content']

Then insert the base 64 code of image into the <image> tag, one point needs to mention is the Email body should be HTML view:

<img src="data&colon;image/png;base64,base64codeOfImage}" alt="alternatetext">

Annotation 2020-07-28 140214.jpg

 

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
KrishnaV
Super User III
Super User III

Hi @KJG ,

 

I have tried in many ways but to the best what we could do in Flow is, add it as an attachment as part of the email. If you want you can check the below step by step video.

https://www.youtube.com/watch?v=NFFGeQJQS-g


I hope this resolved your issue if you see any challenge/need further help please let me know I am always happy to do it for my community.

Regards,
Krishna
If this post helps you give a 👍 and if it solved your issue consider Accept it as the solution to help the other members find it more.


I hope this resolved your issue if you see any challenge/need further help please let me know I am always happy to do it for my community.

Regards,
KrishnaV
Business Applications MVP, Microsoft Certified Trainer
Twitter | Linkedin | YouTube | GitHub
If this post helps you give a and if it solved your issue consider Accept it as the solution to help the other members / new members of the community.
v-litu-msft
Community Support
Community Support

Hi @KJG,

 

To make the image could show in the Outlook, you could go to the trust center to clear the checkbox against Don’t download pictures automatically in HTML e-mail messages or RSS items. Steps you could refer to this blog:

https://www.nucleustechnologies.com/blog/cannot-see-images-in-outlook-emails-this-post-will-definite...

 

Then Get the file content store in the SharePoint, then use an expression to get the file $content (base64 code):

outputs('Get_file_content_using_path')?['body']['$content']

Then insert the base 64 code of image into the <image> tag, one point needs to mention is the Email body should be HTML view:

<img src="data&colon;image/png;base64,base64codeOfImage}" alt="alternatetext">

Annotation 2020-07-28 140214.jpg

 

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (1,630)