MailKit Documentation
MailKit Documentation
API Reference
MimeKit
MultipartAlternative Class
MultipartAlternative Properties
HtmlBody Property
TextBody Property
Multipart
Alternative
Html
Body Property
Get the HTML-formatted text of the text/html alternative.
Namespace:
MimeKit
Assembly:
MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax
C#
Copy
public
string
HtmlBody
{
get
; }
Property Value
String
The HTML if a text/html alternative exists; otherwise,
null
.
Implements
IMultipartAlternative
HtmlBody
Exceptions
Exception
Condition
ObjectDisposedException
The
MultipartAlternative
has been disposed.
Remarks
Gets the HTML-formatted text of the text/html alternative, if it exists.
See Also
Reference
MultipartAlternative Class
MimeKit Namespace
Copyright © 2013-2023 Jeffrey Stedfast
Send comments on this topic to
Jeffrey Stedfast