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 Property BodyFormat As MailFormat

Property Value

Type: System.Web.Mail.MailFormat

One of the MailFormat values.

Dim MyMessage As MailMessage = New MailMessage()
MyMessage.BodyFormat = MailFormat.Html

.NET Framework
Available since 1.1
Return to top
Show: