SmtpClient.SucceededSending

SmtpClient.SucceededSending event

Adds or removes subscriber for notifications about succeeded sending of mail messages. Please note, notifications will be invoked from other threads, so you should to implement thread safe event handler. Also note that this event is common to the mail client instance, in case if the client is running in multi-connection mode, messages from all connections will be processed through this event. So the customer has to analyze in his code message from events to understand which message relates to which operation.

public event EventHandler<MailMessageEventArgs> SucceededSending;

See Also