This documentation is archived and is not being maintained.

MailDefinition Members

Allows a control to create e-mail messages from text files or strings. This class cannot be inherited.

The MailDefinition type exposes the following members.

  NameDescription
Public method MailDefinition Initializes a new instance of the MailDefinition class.
Top

  NameDescription
Public method CreateMailMessage Overloaded. Creates an e-mail message to send by means of SMTP (Simple Mail Transfer Protocol).
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Public property BodyFileName Gets or sets the name of the file that contains text for the body of the e-mail message.
Public property CC Gets or sets a comma-separated list of e-mail addresses to send a copy (CC) of the message to.
Public property EmbeddedObjects Gets a collection of EmbeddedMailObject instances, typically used to embed images in a MailDefinition object before sending an e-mail to a user.
Public property From Gets or sets the e-mail address of the message sender.
Public property IsBodyHtml Gets or sets a value indicating whether the body of the e-mail is HTML.
Public property Priority Gets or sets the priority of the e-mail message.
Public property Subject Gets or sets the subject line of the e-mail message.
Top

  NameDescription
Explicit interface implemetation Private property IStateManager::IsTrackingViewState Gets a value that indicates whether the server control is saving changes to its view state.
Explicit interface implemetation Private method IStateManager::LoadViewState Restores view-state information from a previous page request that was saved by the SaveViewState method.
Explicit interface implemetation Private method IStateManager::SaveViewState Saves any server control view-state changes that have occurred since the time the page was posted back to the server.
Explicit interface implemetation Private method IStateManager::TrackViewState Causes tracking of view-state changes to the server control so they can be stored in the server control's StateBag object.
Top
Show: