SmtpException

SmtpException class

Represents the exception that is thrown when the SmtpClient is not able to complete an operation.

The SmtpException type exposes the following members:

Constructors

NameDescription
SmtpException(status_code)Initializes a new instance of the SmtpException class
SmtpException(status_code, message)Initializes a new instance of the SmtpException class
SmtpException()Initializes a new instance of the SmtpException class
SmtpException(message)Initializes a new instance of the SmtpException class
SmtpException(message, result)Initializes a new instance of the SmtpException class
SmtpException(message, mail_message)Initializes a new instance of the SmtpException class

Properties

NameDescription
status_codeSmtp status code
operation_detailsGets extra information aboout error
error_details

See Also