EwsItemBodyHtmlText Property
Gets the HTML body text of the given message.

Namespace: MailBee.EwsMail
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.3.0 build 647 for .NET 4.5
public string BodyHtmlText { get; }

Property Value

Type: String
The HTML body text of the given message, or an empty string if HTML 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.
HTML 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 HTML body is requested, use a method like DownloadItems(FolderId, Int32, Int32, Boolean, EwsItemParts) passing at least MailMessageBody or MailMessageRawData flag in parts parameter value.
See Also