Represents the exception that is thrown when the System.Net.Mail.SmtpClient is not able to complete a erload:System.Net.Mail.SmtpClient.Send or erload:System.Net.Mail.SmtpClient.SendAsync operation.
See Also: SmtpException Members
The SmtpException.StatusCode property contains the status code returned by the SMTP server.