MailMessage.BodyFormat Property

 

Gets or sets the content type of the body of the e-mail message. Recommended alternative: System.Net.Mail.

Namespace:   System.Web.Mail
Assembly:  System.Web (in System.Web.dll)

public MailFormat BodyFormat { get; set; }

Property Value

Type: System.Web.Mail.MailFormat

One of the MailFormat values.

MailMessage MyMessage = new MailMessage();
MyMessage.BodyFormat = MailFormat.Html;

.NET Framework
Available since 1.1
Return to top
Show: