MailMessage.IsBodyHtml Property

Definition

Gets or sets a value indicating whether the mail message body is in HTML.

public:
 property bool IsBodyHtml { bool get(); void set(bool value); };
public bool IsBodyHtml { get; set; }
member this.IsBodyHtml : bool with get, set
Public Property IsBodyHtml As Boolean

Property Value

true if the message body is in HTML; else false. The default is false.

Applies to