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 following tables list the members exposed by the MailDefinition type.

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

  Name Description
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

(see also Protected Methods )
  Name Description
Public method CreateMailMessage Overloaded. Creates an e-mail message to send by means of SMTP (Simple Mail Transfer Protocol).
Public method Equals  Overloaded. Determines whether two Object instances are equal. (Inherited from Object.)
Public method GetHashCode  Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.)
Public method GetType  Gets the Type of the current instance. (Inherited from Object.)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method ToString  Returns a String that represents the current Object. (Inherited from Object.)
Top

  Name Description
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (Inherited from Object.)
Top

  Name Description
Explicit interface implementation Method System.Web.UI.IStateManager.LoadViewState Restores view-state information from a previous page request that was saved by the SaveViewState method.
Explicit interface implementation 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.
Explicit interface implementation Method 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 StateBag object.
Explicit interface implementation Property System.Web.UI.IStateManager.IsTrackingViewState Gets a value that indicates whether the server control is saving changes to its view state.
Top
Show: