Click or drag to resize

MailMessageFailureEventArgs Class

Argument used by the event when getting the merged MimeMessage of the MailMergeMessage has failed. With the arguments supplied the event delegate is able to either resolve what caused the error and set a correctly built MimeMessage to be sent, or finally give up and let throw a MailMergeMessageMailMergeMessageException,
Inheritance Hierarchy
SystemObject
  SystemEventArgs
    MailMergeLibMailMessageFailureEventArgs

Namespace:  MailMergeLib
Assembly:  MailMergeLib (in MailMergeLib.dll) Version: 5.6.1.0
Syntax
public class MailMessageFailureEventArgs : EventArgs

The MailMessageFailureEventArgs type exposes the following members.

Constructors
  NameDescription
Protected methodMailMessageFailureEventArgs
Initializes a new instance of the MailMessageFailureEventArgs class
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Public fieldDataSource
The data item which was used to build the MimeMessage.
Public fieldError
Contains the exceptions caught will trying to build the MimeMessage.
Public fieldMailMergeMessage
The MailMergeMessage which tried to build the MimeMessage.
Public fieldMimeMessage
The MimeMessage which could be built until any errors occurred. The delegate may modify the mime message by resolving any errors and return the new MimeMessage.
Public fieldThrowException
The value returned to the MailMergeMessage build process to determine whether a MailMergeMessageMailMergeMessageException should be thrown. Default to true.
Top
See Also