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

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

Howto: Add a body part to a message using CDOSYS.

The sample below shows how to add an additional body part to a message using cdosys.  This example demonstrates adding a “text/calendar” (vcalendar) body part, however it should be possible to use this to add “text/plain”, “text/html” and other types.  In the sample, “this.VCalendarText” holds the text to be written to the body part (in…

0

Howto: Add a body part using System.Net.Mail

The sample below shows how to add an additional body part to a message using System.Net.Mail.  This example demonstrates adding a “text/calendar” (vcalendar) body part, however it should be possible to use this to add “text/plain”, “text/html” and other types.  In the sample, “this.VCalendarText” holds the text to be written to the body part (in…

0