com.aspose.email

Interfaces

Classes

Enums

Exceptions

com.aspose.email

Class SmtpException

    • Constructor Detail

      • SmtpException

        public SmtpException(int statusCode)

        Initializes a new instance of the SmtpException class

        Parameters:
        statusCode - Smtp status code
      • SmtpException

        public SmtpException(int statusCode,
                     String message)

        Initializes a new instance of the SmtpException class

        Parameters:
        statusCode - Smtp status code
        message - Error message
      • SmtpException

        public SmtpException()

        Initializes a new instance of the SmtpException class

      • SmtpException

        public SmtpException(String message)

        Initializes a new instance of the SmtpException class

        Parameters:
        message - Error message
      • SmtpException

        public SmtpException(String message,
                     Throwable innerException)

        Initializes a new instance of the SmtpException class

        Parameters:
        message - Error message
        innerException - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.
    • Method Detail

      • getStatusCode

        public final int getStatusCode()

        Smtp status code

      • setStatusCode

        public final void setStatusCode(int value)

        Smtp status code