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?
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.
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 :
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.