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

How to display the inline image in the Email body?

Hi Experts, 

 

I want to extract the Outlook Email and save it to HTML format. However, the inline picture of the Email body can not be extracted. The output of the HTML looks like this. It shows there is a picture but can not display the picture. The HTML code is as below:

 

Is there any way that we can make the picture displayed? 

 

<img width="1032" height="221" id="Picture_x0020_5" src="cid:image002.jpg@xxxxxxxxxxxxxx" style="width:10.75in; height:2.2986in">

 

SS4.png

 

Many thanks!

 

Best regards,

Tom

1 ACCEPTED SOLUTION

Accepted Solutions
JohnAageAnderse
Memorable Member
Memorable Member

Hello @TomLu1231 

 

When you look at the image SRC attribute you see that it starts with "CID". This means that the image is stored as an attachment.

So just grab the image from the attachments.

Kind regards, John

View solution in original post

3 REPLIES 3
JohnAageAnderse
Memorable Member
Memorable Member

Hello @TomLu1231 

 

When you look at the image SRC attribute you see that it starts with "CID". This means that the image is stored as an attachment.

So just grab the image from the attachments.

Kind regards, John

Hi John,

 

May I know how can we replace the value in the extracted email body to grab the image from the attachment?

 

Many thanks!

 

Best regards,

Tom

Hi!

I'm having the exact same problem as you. Did you manage to work it out?

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (2,490)