This project is read-only.

How to manage the inline attachments?

Jun 17, 2011 at 11:33 AM

What is the recommended way to parse inline attachments?

Can you please provide a sample code?

Jun 17, 2011 at 4:19 PM

Hi suhair,

there is a case sensitivity issue that prevents embedded items to be added to the attachments list, fortunately for you I'm currently working on it ;)

It will be up and running in a couple of hours.

Once done the usage is quite simple.

The difference between an embedded attachment and a regular attachment is small.

The embedded content does not have a filename, it does a have a "Content-ID" header instead. 

All views that use embedded content have the IsRelated property set to true, so do the attachments.

Inside the views text you'll usually find a placeholder for the embedded content similar to this


 <body text="#000000" bgcolor="#ffffff">
    <img moz-do-not-send="false" alt="bla"
      src="" width="1920"


As you can see the source of the image is not valid it contains the Content-ID of the related item.

You can then identify the attachment, store it locally and change the link to the new location inside the view.

Regards Alex

Jun 17, 2011 at 4:51 PM

The issue has been fixed, latest change set works as expected.



Jun 17, 2011 at 6:15 PM

Ok thanks for the information and fix.

Currently I am ussing another IMAP c# code library and am investing high hopes on this project.

I will check this soon.

Jun 18, 2011 at 11:01 AM
Edited Jun 18, 2011 at 11:02 AM

To be honest, the project is still not ready for production, the problem is not so much in the code, but the testing phase hasn't been that long.

In order to fix defects we need to find defects and although many have been fixed since the first release I am pretty confident we haven't found them all, although the basics seem to run smoothly for now.