Class SmtpException
SmtpException class
Represents the exception that is thrown when the SmtpClient is not able to complete an operation.
public class SmtpException : AsposeException
Constructors
Name | Description |
---|
SmtpException() | Initializes a new instance of the SmtpException class |
SmtpException(SmtpStatusCode) | Initializes a new instance of the SmtpException class |
SmtpException(string) | Initializes a new instance of the SmtpException class |
SmtpException(SmtpStatusCode, string) | Initializes a new instance of the SmtpException class |
SmtpException(string, Exception) | Initializes a new instance of the SmtpException class |
SmtpException(string, MailMessage) | |
SmtpException(string, SendMessagesResult) | Initializes a new instance of the SmtpException class |
SmtpException(string, Exception, MailMessage) | Initializes a new instance of the SmtpException class |
Properties
Name | Description |
---|
ErrorDetails { get; } | Gets extra information aboout error |
override Message { get; } | Gets a message that describes the current exception. |
OperationDetails { get; } | Gets extra information aboout error |
StatusCode { get; set; } | Smtp status code |
Methods
Name | Description |
---|
override ToString() | Returns a string that represents the current object. |
See Also