EWS and Inline Attachments

I keep seeing a lot of questions on inline attachments being accessed by EWS being asked on our cases and on the internet. So, I would like to try to clarify how inline attachments work with different message bodies. There are really two types of inline attachments… at least it’s best to think of them…

0

Inline attachments used with EWS and Text, HTML, MHTML or MIME

Exchange Web Services has three different ways to set message body content when working with messages – setting the Text body, setting the html body or creating the message using email MIME (note that there are different types of MIME).  Images which are directly with HTML content are not supported.  HMTLM is an archival format…

1

Adding Inline Attachments with CDOSYS and System.Net.Mail.

In the following samples, I’m going to send an inline attachment using CDOSYS and System.Net.Mail (SNM). Lets say you have an html document with text above and below a jpg file and you want this document inside of a message you are going to send.  Below is the the basic HTML document.   Notice that img…

0