MailMessageBodyHtmlText Property
Gets or sets the HTML body of the message.

Namespace: MailBee.Mime
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.4 build 677 for .NET 4.5
Syntax
public string BodyHtmlText { get; set; }

Property Value

Type: String
A string containing the HTML body of the message, or an empty string if the message does not have an HTML body.
Remarks
If the mail message doesn't contain HTML-formatted body and it's desired to get it from plain text, you should set MailMessage.Parser.PlainToHtmlMode to IfNoHtml value. MailBee will generate HTML body automatically and you can then get it from BodyHtmlText property as usually.
Note Note
MailMessage.Parser.PlainToHtmlMode should be set before any property of MailMessage object gets accessed and the message gets parsed. If message was already parsed, you will have to call MailMessage.Parser.Apply method to reparse it.
Examples
The example is available in MailMessage topic.
See Also