MailFormat

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



    Part I: Introduction to ASP.NET
    Part III: Namespace Reference
    Chapter 40. The System.Web.UI.MobileControls Namespace
    Chapter 42. The System.Web.UI.WebControls Namespace