Click or drag to resize
MimeKit

BodyPartTextIsHtml Property

Gets whether or not this text part contains HTML.

Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 4.3.0
Syntax
C#
public bool IsHtml { get; }

Property Value

Boolean
true if the text is html; otherwise, false.
Remarks
Checks whether or not the text part's Content-Type is text/html.
See Also