Occurs when an asynchronous e-mail send operation completes.
| C# | Visual Basic |
public event SendCompletedEventHandler SendCompleted
Public Event SendCompleted As SendCompletedEventHandler
The 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 SendAsync(String, String, String, String, Object) methods.
SendCompletedEventHandler is the delegate for SendCompleted. The AsyncCompletedEventArgs class provides the event handler with event data.