Identify INLINE attachments in MAPI message

Inline attachments sit amidst the main body of e-mail. And the main body has syntax to refer to these attachments. This syntax is different for HTML and RTF. main bodies. HTML main body uses ContentID to refer to attachment. RTF main body uses /objattph to refer to attachment.





Exceptions
============
1) HTML mainbody some times uses RTF syntax to refer to inline attachment. Here is an example of that and note that there are no CID inside HTML stream. Correspondingly there is 'Content-ID' header for inline-attachment.

HTML mainbodypart
=================
 img src="objattph://"
 
Attachment bodypart
====================
 Content-Type: image/jpeg; name="Picture (Device Independent Bitmap) 1.jpg"
 Content-Description: Picture (Device Independent Bitmap) 1.jpg
 Content-Disposition: inline;
    filename="Picture (Device Independent Bitmap) 1.jpg";
    creation-date="Mon, 17 Jun 2013 18:21:33 GMT";
    modification-date="Mon, 17 Jun 2013 18:21:35 GMT"
 Content-Transfer-Encoding: base64