MailMerge.BeforeSend Event

UltimateEmail

UltimateEmail Class Library

MailMerge.BeforeSend Event

Raised before a mail is sent to the email address in the merged row.

[Visual Basic] Public Event BeforeSend As BeforeSendEventHandler
[C#]
public event BeforeSendEventHandler BeforeSend;

Event Data

The event handler receives an argument of type BeforeSendEventArgs containing data related to this event. The following BeforeSendEventArgs properties provide information specific to this event.

Property Description
DataRow Data row to be merged into mail message.
MergedMail Merged mail.
MergeErrorMsg Error message when MergeStatus is false to indicate that the mail could not be merged successfully.
MergeStatus Boolean status to indicate whether the mail was merged successfully.
SendMergedMail Flag to send the merged mail.
StopMailMerge Flag to stop the mail merge process.

See Also

MailMerge Class | Karamasoft.WebControls.UltimateEmail Namespace