Class SmtpFailedRecipientException

SmtpFailedRecipientException class

Represents the exception which arises when the specified recipient is wrong

public class SmtpFailedRecipientException : SmtpException

Constructors

NameDescription
SmtpFailedRecipientException()Initializes a new instance of the SmtpFailedRecipientException class
SmtpFailedRecipientException(string)Initializes a new instance of the SmtpFailedRecipientException class
SmtpFailedRecipientException(SmtpStatusCode, string)Initializes a new instance of the SmtpFailedRecipientException class
SmtpFailedRecipientException(string, Exception)Initializes a new instance of the SmtpFailedRecipientException class
SmtpFailedRecipientException(SmtpStatusCode, string, string)Initializes a new instance of the SmtpFailedRecipientException class
SmtpFailedRecipientException(string, string, Exception)Initializes a new instance of the SmtpFailedRecipientException class

Properties

NameDescription
ErrorDetails { get; }Gets extra information aboout error
FailedRecipient { get; }Failed recipient
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

NameDescription
override ToString()Returns a string that represents the current object.

See Also