System.Web.UI.WebControls.MailDefinition Members

The members of System.Web.UI.WebControls.MailDefinition are listed below.

See Also: Inherited members from System.Object

Public Constructors

Initializes a new instance of the System.Web.UI.WebControls.MailDefinition class.

Public Properties

BodyFileNamestring.

Gets or sets the name of the file that contains text for the body of the e-mail message.

CCstring.

Gets or sets a comma-separated list of e-mail addresses to send a copy (CC) of the message to.

[read-only]
EmbeddedObjectsEmbeddedMailObjectsCollection.

Gets a collection of System.Web.UI.WebControls.EmbeddedMailObject instances, typically used to embed images in a System.Web.UI.WebControls.MailDefinition object before sending an e-mail to a user.

Fromstring.

Gets or sets the e-mail address of the message sender.

IsBodyHtmlbool.

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

PrioritySystem.Net.Mail.MailPriority.

Gets or sets the priority of the e-mail message.

Subjectstring.

Gets or sets the subject line of the e-mail message.

Public Methods

CreateMailMessage(string, IDictionary, System.Web.UI.Control) : System.Net.Mail.MailMessage

Creates an e-mail message from a text file to send by means of SMTP (Simple Mail Transfer Protocol).

CreateMailMessage(string, IDictionary, string, System.Web.UI.Control) : System.Net.Mail.MailMessage

Creates an e-mail message with replacements from a text file to send by means of SMTP (Simple Mail Transfer Protocol).

Explicitly Implemented Interface Members

[read-only]
System.Web.UI.IStateManager.IsTrackingViewStatebool.

Gets a value that indicates whether the server control is saving changes to its view state.

System.Web.UI.IStateManager.LoadViewState

Restores view-state information from a previous page request that was saved by the System.Web.UI.IStateManager.SaveViewState method.

System.Web.UI.IStateManager.SaveViewState

Saves any server control view-state changes that have occurred since the time the page was posted back to the server.

System.Web.UI.IStateManager.TrackViewState

Causes tracking of view-state changes to the server control so they can be stored in the server control's System.Web.UI.StateBag object.