System.Net.Mail.SmtpClient.SendCompleted Event

Occurs when an asynchronous e-mail send operation completes.


public event SendCompletedEventHandler SendCompleted


The SmtpClient.SendCompleted event is raised each time an e-mail message is sent asynchronously when the send operation completes. To send an e-mail message asynchronously, use the erload:System.Net.Mail.SmtpClient.SendAsync methods.

System.Net.Mail.SendCompletedEventHandler is the delegate for SmtpClient.SendCompleted. The System.ComponentModel.AsyncCompletedEventArgs class provides the event handler with event data.


Namespace: System.Net.Mail
Assembly: System (in System.dll)
Assembly Versions:,
Since: .NET 2.0