DekGenius.com
[ Team LiB ] Previous Section Next Section

MailFormatserializable

System.Web.Mail (system.web.dll)enum

This enumeration sets the BodyFormat property of the MailMessage class. If you use Html, you can include standard HTML markup tags in the Body property of a MailMessage instance and they will be rendered in the recepient's email program, if supported.

public enum MailFormat {
   Text = 0,
   Html = 1
}

Hierarchy

System.Object System.ValueType System.Enum(System.IComparable, System.IFormattable, System.IConvertible) MailFormat

Returned By

MailMessage.BodyFormat

Passed To

MailMessage.BodyFormat

    [ Team LiB ] Previous Section Next Section