Multipart AlternativeHtml Body Property
Get the HTML-formatted text of the text/html alternative.
Definition
Namespace: MimeKit
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
The HTML if a text/html alternative exists; otherwise, .
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public string? HtmlBody { get; }Property Value
StringThe HTML if a text/html alternative exists; otherwise, .
Implements
IMultipartAlternativeHtmlBodyRemarks
Gets the HTML-formatted text of the text/html alternative, if it exists.
Exceptions
| ObjectDisposedException | The MultipartAlternative has been disposed. |