I am developing a plugin for outlook .I want to create a MIME message buffer of the mails received on outlook using MAPI.Presently,I am using MAPI properties like PR_TRANSPORT_MESSAGE_HEADERS, PR_BODY, PR_HTML_BODY, PR_RTF_COMPRESSED, PR_ATTACH_DATA_BIN, etc and then I construct a buffer in RFC 822 format .But still i am not able to construct a complete MIME buffer.For example, i do not know how to retrieve the following parts as it in MIME :------=_NextPart_000_0021_01C9E2E0.DFF273D0Content-Type: text/html; charset="iso-8859-1"Content-Transfer-Encoding: 7bit------=_NextPart_000_0021_01C9E2E0.DFF273D0Content-Type: image/jpeg; name="ATT00226.jpg"Content-Transfer-Encoding: base64Content-Disposition: attachment; filename="ATT00226.jpg"Is there a way by which i can get the complete message buffer in MIME format.