Re: How to get MIME format body of a multipart/alternate MAPI message

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



If you have Outlook 2003(and up) environment you can use
IConverterSession to
convert MAPI message to MIME format.

Regards
Henry
On Mar 3, 7:51 pm, ram <r...@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
Hi,

I am looking for a way to get the MIME format body of a mulitpart/alternate
message
using MAPI API.

Just as an example, for a multipart/alternate message , i want to get the
body in MIME format as somthing like this:

---boundary;abc
Content-type:text/plain
simple text

---boundary;abc
Content-type:text/html
<html>simple text</html>

Using MAPI property PR_BODY_HTML or PR_BODY, I can get the message body as
text or html.

But Is there any way that I could get the entire MIME format of a message as
specified above?

Thanks in advance
Ram

.