Click or drag to resize

Message Methods

The Message type exposes the following members.

Methods
  NameDescription
Public methodAddListUnsubscribeHeader
Adds the list-unsubscribe header to the email
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodStatic memberExpectedAddressCount
Determine the number of email address that would be expected in the specified email address list. Knowing the number of expected email addresses can be helpful in determining whether a MailMessage created by PrepareMessage rejected any invalid email addresses that were provided to To, CC, or Bcc. Currently the number of expected addresses is determined by looking for semi-colons and/or at-signs.
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInsertRelationships
Adds any existing relationships to the xot_email_message_rel table.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodPrepareMessage
Prepares the message to be sent. This expands the template data set on this object into the template, creates the MailMessage object with the associated data. The message is ready to be sent at this point.
Public methodPreparePlainTextBody
Prepares the text/plain body of the message if it exists
Public methodSend
Sends an email with using this message.
Public methodSend(String)
Sends an email with using this message.
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodEqualValue
Determines if the object value is equal to another object. If the two objects are null, then this returns true. There is special handling for guid comparisons (since a guid could be a string formatted in up to 3 different ways). If the special guid handling is not performed, then the object.Equals method is used.
(Defined by EAPUtil.)
Top
See Also