MailMessageBodyHtmlText Property |
Gets or sets the HTML body of the message.
Namespace: MailBee.MimeAssembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax public string BodyHtmlText { get; set; }
Public Property BodyHtmlText As String
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.
Examples See Also