EwsItemBodyPlainText Property
Gets the plain-text body text of the given message.

Namespace: MailBee.EwsMail
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax
public string BodyPlainText { get; }

Property Value

Type: String
The HTML body text of the given message, or an empty string if plain-text body is not available, or a null reference (Nothing in Visual Basic) if this EwsItem was constructed manually (such as with EwsItem(ItemId) constructor) and there is no data in it.
Remarks

Plain-text body can be not available because it's either missing in the source message or it was not requested from the Exchange server. To make sure plain-text body is requested, use a method like DownloadItems(FolderId, Int32, Int32, Boolean, EwsItemParts) passing at least MailMessageBody or MailMessageRawData flag in parts parameter value.

MailBee's MailMessage class can produce plain-text from HTML. See BodyPlainText topic for details. To use MailMessage class, you'll need to get MailBeeMessage property set. For that, call a method like DownloadItems(FolderId, Int32, Int32, Boolean, EwsItemParts) passing at least MailMessageRawData flag in parts parameter value.

See Also