Aspose::Email::Clients::Smtp::Details_SmtpFailedRecipientException Class Reference

Represents the exception which arises when the specified recipient is wrong More...

Inherits Details_SmtpException.

Inherited by Aspose::Email::Clients::Smtp::Details_SmtpFailedRecipientsException.

Public Member Functions

System::String get_FailedRecipient () const
 Failed recipient More...
 

Public Attributes

bool fatal
 

Protected Member Functions

void DoThrow (const System::ExceptionPtr &self) const override
 
 Details_SmtpFailedRecipientException ()
 Initializes a new instance of the SmtpFailedRecipientException class More...
 
 MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION (Details_SmtpFailedRecipientException, CODEPORTING_ARGS())
 
 Details_SmtpFailedRecipientException (System::String message)
 Initializes a new instance of the SmtpFailedRecipientException class More...
 
 MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION (Details_SmtpFailedRecipientException, CODEPORTING_ARGS(System::String message))
 
 Details_SmtpFailedRecipientException (System::String message, System::Exception innerException)
 Initializes a new instance of the SmtpFailedRecipientException class More...
 
 MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION (Details_SmtpFailedRecipientException, CODEPORTING_ARGS(System::String message, System::Exception innerException))
 
 Details_SmtpFailedRecipientException (SmtpStatusCode statusCode, System::String failedRecipient)
 Initializes a new instance of the SmtpFailedRecipientException class More...
 
 MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION (Details_SmtpFailedRecipientException, CODEPORTING_ARGS(SmtpStatusCode statusCode, System::String failedRecipient))
 
 Details_SmtpFailedRecipientException (SmtpStatusCode statusCode, System::String failedRecipient, System::String serverResponse)
 Initializes a new instance of the SmtpFailedRecipientException class More...
 
 MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION (Details_SmtpFailedRecipientException, CODEPORTING_ARGS(SmtpStatusCode statusCode, System::String failedRecipient, System::String serverResponse))
 
 Details_SmtpFailedRecipientException (System::String message, System::String failedRecipient, System::Exception innerException)
 Initializes a new instance of the SmtpFailedRecipientException class More...
 
 MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION (Details_SmtpFailedRecipientException, CODEPORTING_ARGS(System::String message, System::String failedRecipient, System::Exception innerException))
 

Friends

class Aspose::Email::Clients::Smtp::Commands::SendGrCommand
 

Detailed Description

Represents the exception which arises when the specified recipient is wrong

Constructor & Destructor Documentation

◆ Details_SmtpFailedRecipientException() [1/6]

Aspose::Email::Clients::Smtp::Details_SmtpFailedRecipientException::Details_SmtpFailedRecipientException ( )
protected

Initializes a new instance of the SmtpFailedRecipientException class

◆ Details_SmtpFailedRecipientException() [2/6]

Aspose::Email::Clients::Smtp::Details_SmtpFailedRecipientException::Details_SmtpFailedRecipientException ( System::String  message)
protected

Initializes a new instance of the SmtpFailedRecipientException class

Parameters
messageError message

◆ Details_SmtpFailedRecipientException() [3/6]

Aspose::Email::Clients::Smtp::Details_SmtpFailedRecipientException::Details_SmtpFailedRecipientException ( System::String  message,
System::Exception  innerException 
)
protected

Initializes a new instance of the SmtpFailedRecipientException class

Parameters
messageError message
innerExceptionThe exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.

◆ Details_SmtpFailedRecipientException() [4/6]

Aspose::Email::Clients::Smtp::Details_SmtpFailedRecipientException::Details_SmtpFailedRecipientException ( SmtpStatusCode  statusCode,
System::String  failedRecipient 
)
protected

Initializes a new instance of the SmtpFailedRecipientException class

Parameters
statusCodeStatus code
failedRecipientFailed recipient

◆ Details_SmtpFailedRecipientException() [5/6]

Aspose::Email::Clients::Smtp::Details_SmtpFailedRecipientException::Details_SmtpFailedRecipientException ( SmtpStatusCode  statusCode,
System::String  failedRecipient,
System::String  serverResponse 
)
protected

Initializes a new instance of the SmtpFailedRecipientException class

Parameters
statusCodeStatus code
failedRecipientFailed recipient
serverResponseServer response

◆ Details_SmtpFailedRecipientException() [6/6]

Aspose::Email::Clients::Smtp::Details_SmtpFailedRecipientException::Details_SmtpFailedRecipientException ( System::String  message,
System::String  failedRecipient,
System::Exception  innerException 
)
protected

Initializes a new instance of the SmtpFailedRecipientException class

Parameters
messageError message
failedRecipientFailed recipient
innerExceptionThe exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.

Member Function Documentation

◆ DoThrow()

void Aspose::Email::Clients::Smtp::Details_SmtpFailedRecipientException::DoThrow ( const System::ExceptionPtr &  self) const
overrideprotected

◆ get_FailedRecipient()

System::String Aspose::Email::Clients::Smtp::Details_SmtpFailedRecipientException::get_FailedRecipient ( ) const

Failed recipient

◆ MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION() [1/6]

Aspose::Email::Clients::Smtp::Details_SmtpFailedRecipientException::MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION ( Details_SmtpFailedRecipientException  ,
CODEPORTING_ARGS()   
)
protected

◆ MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION() [2/6]

Aspose::Email::Clients::Smtp::Details_SmtpFailedRecipientException::MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION ( Details_SmtpFailedRecipientException  ,
CODEPORTING_ARGS(SmtpStatusCode statusCode, System::String failedRecipient)   
)
protected

◆ MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION() [3/6]

Aspose::Email::Clients::Smtp::Details_SmtpFailedRecipientException::MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION ( Details_SmtpFailedRecipientException  ,
CODEPORTING_ARGS(SmtpStatusCode statusCode, System::String failedRecipient, System::String serverResponse)   
)
protected

◆ MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION() [4/6]

Aspose::Email::Clients::Smtp::Details_SmtpFailedRecipientException::MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION ( Details_SmtpFailedRecipientException  ,
CODEPORTING_ARGS(System::String message)   
)
protected

◆ MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION() [5/6]

Aspose::Email::Clients::Smtp::Details_SmtpFailedRecipientException::MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION ( Details_SmtpFailedRecipientException  ,
CODEPORTING_ARGS(System::String message, System::Exception innerException)   
)
protected

◆ MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION() [6/6]

Aspose::Email::Clients::Smtp::Details_SmtpFailedRecipientException::MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION ( Details_SmtpFailedRecipientException  ,
CODEPORTING_ARGS(System::String message, System::String failedRecipient, System::Exception innerException)   
)
protected

Friends And Related Function Documentation

◆ Aspose::Email::Clients::Smtp::Commands::SendGrCommand

friend class Aspose::Email::Clients::Smtp::Commands::SendGrCommand
friend

Member Data Documentation

◆ fatal

bool Aspose::Email::Clients::Smtp::Details_SmtpFailedRecipientException::fatal