Exchange 2010 MAPI API PR_HTML couldn't be fetched using 0x10130102 when the mail format is RTF RRS feed

  • Question

  • I have an application which fetches email from Exchange groupware. We wanted to fetch the email in HTML format (irrespective if the mail is originally in HTML / RTF format). We used MAPI property PR_HTML (0x10130102) to get the data string. This approach worked fine on all three Exchange groupwares (2003, 2007 and 2010) when the mail is in HTML Format. It worked fine for Exchange 2007 RTF format too. But in case of Exchange 2010 RTF, it returns empty string. 


    Note: We are retrieving this property as VARIANT and then typecasting the value to char *

    We also unsuccessfully tried with other MAPI properties like 0x1013001F (unicode).


    Tuesday, July 5, 2011 6:07 AM


All replies