B Bingo Nov 17, 2004 #1 How to tell if a message is formatted in HTML, RTF or Plain Text in either one of Outlook Object, CDO and Redemption? Thanks.
How to tell if a message is formatted in HTML, RTF or Plain Text in either one of Outlook Object, CDO and Redemption? Thanks.
D Dmitry Streblechenko \(MVP\) Nov 18, 2004 #2 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
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