Embedded images in the htmlbody

Hello

I load a msg file from outlook with MailMessage.Load.
The msg-file has embedded images in the htmlbody. I find the images back as attachments. But there is no link in the htmlbody to these attachments.

In the source code from outlook is the link:

Is there a way to get the to get these links in the htmlbody?

I’m not sure if this is exactly what you’re looking for but I had a similar problem…

Check out this post:
<a href="https://forum.aspose.com/t/44813

Hello,

Could you provide your msg file and code? What task you want to do with the msg file? Could you please give me some details about your scenario? It will make me on the same picture.

Thanks

Hello

I have attached a msg file as example.
We want to save the body to a sql database as a document. Than an user can select the documents in webenabled software. This works fine.

Some email messages have embedded images in the html body. In MailMessage these images are attachments. We save those also in the sql database. In Outlook, source code, the link to the images is : 1.jpg

In MailMessage these links are gone. So I can't merge the images in the html when the user select the mail.

I have attached the file with the outlook source as email.zip.

A hope this will help

vr gr

Thanks for your info.

Our development team will check it out and investigate the solutions. I will keep you posted.

Cheers

Hello

Is there any updated information over this topic?

vr gr