Catalyst Internet Mail .NET

InternetMail.OnRecipient Event

Occurs when a message is about to be submitted for delivery.

[Visual Basic]
Public Event OnRecipient As OnRecipientEventHandler
[C#]
public event OnRecipientEventHandler OnRecipient;

Event Data

The event handler receives an argument of type InternetMail.RecipientEventArgs containing data related to this event. The following InternetMail.RecipientEventArgs property provides information specific to this event.

Property Description
Address Gets the email address of the message recipient.

Remarks

The OnRecipient event is generated when a message is about to be submitted to the mail server for delivery. If multiple recipients have been specified for the message, this event will fire for each recipient. To prevent the message from being delivered to the specified recipient, call the Cancel method.

See Also

InternetMail Class | SocketTools Namespace