Raises the SmtpClient.SendCompleted event.
- e
An System.ComponentModel.AsyncCompletedEventArgs that contains event data.
Classes that inherit from the System.Net.Mail.SmtpClient class can override the SmtpClient.OnSendCompleted(System.ComponentModel.AsyncCompletedEventArgs) method to perform additional tasks when the SmtpClient.SendCompleted event occurs.
SmtpClient.OnSendCompleted(System.ComponentModel.AsyncCompletedEventArgs) also allows derived classes to handle SmtpClient.SendCompleted without attaching a delegate. This is the preferred technique for handling SmtpClient.SendCompleted in a derived class.