How to get the message formatting information?

  • Thread starter Thread starter Bingo
  • Start date Start date
B

Bingo

How to tell if a message is formatted in HTML, RTF or
Plain Text in either one of Outlook Object, CDO and
Redemption? Thanks.
 
OOM: MailItem.BodyFormat (Outlook 2002 and up)
Redemption: Read the SafeMailItem.RTFBody and look at the first 100 or so
chars - if you have "\fromhtml" - it is HTML, if you have "\fromtext" - it
is text. Otherwise it is pure RTF.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
 
Back
Top