MailDefinition.IsBodyHtml Property

 

Gets or sets a value indicating whether the body of the e-mail is HTML.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

public bool IsBodyHtml { get; set; }

Property Value

Type: System.Boolean

true if the body of the e-mail is HTML; otherwise, false.

Use the IsBodyHtml property to specify whether the body of the e-mail message contains plain text or HTML markup.

.NET Framework
Available since 2.0
Return to top
Show: