Author |
|
jamyzhang Newbie
Joined: 30 March 2010
Online Status: Offline Posts: 4
|
Posted: 20 May 2010 at 9:55pm | IP Logged
|
|
|
HI,
I find the BodyHtmlText and BodyPlainText properties of the MailMessage, but how could I know the body type?
Is the body type plain text when the BodyHtmlText is null?
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 20 May 2010 at 11:18pm | IP Logged
|
|
|
Technically, there's no such thing as body type for a random message as it can hold both plaintext and HTML parts. Still, the following suggestion
Quote:
Is the body type plain text when the BodyHtmlText is null? |
|
|
is correct. Basically, if BodyHtmlText property returns empty string, this means there were no HTML part in a message; same about BodyPlainText and plaintext part.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|