T
thomas.schager
Hi,
for a small project I try to analyse (amongst others) the text section
of an email using VSTO 2005 (C#) in Outlook 2007.
First, I need to seperate the text component of the mail body. With
the MailItem.BodyFormat property, I can differentiate in olFormatHTML,
olFormatPlain, olFormatRichText and olFormatUnspecified. How can I get
a string containing the email's text independent of the BodyFormat?
Second, I need to edit these different text components. For
olFormatPlain, this is not quite difficult. But how can I efficiently
edit HTML or RichText?
Thanks in advance,
Thomas
for a small project I try to analyse (amongst others) the text section
of an email using VSTO 2005 (C#) in Outlook 2007.
First, I need to seperate the text component of the mail body. With
the MailItem.BodyFormat property, I can differentiate in olFormatHTML,
olFormatPlain, olFormatRichText and olFormatUnspecified. How can I get
a string containing the email's text independent of the BodyFormat?
Second, I need to edit these different text components. For
olFormatPlain, this is not quite difficult. But how can I efficiently
edit HTML or RichText?
Thanks in advance,
Thomas