SmtpFailedRecipientException

SmtpFailedRecipientException class

Represents the exception which arises when the specified recipient is wrong

public class SmtpFailedRecipientException : SmtpException

Constructors

Name Description
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

Name Description
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

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

See Also