SmtpException Class

Represents the exception that is thrown when the SmtpClient is not able to complete an operation.
Inheritance Hierarchy

Namespace:  Aspose.Email
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 20.2
Syntax
public class SmtpException : AsposeException

The SmtpException type exposes the following members.

Constructors
  NameDescription
Public methodSmtpException
Initializes a new instance of the SmtpException class
Public methodSmtpException(String)
Initializes a new instance of the SmtpException class
Public methodSmtpException(SmtpStatusCode)
Initializes a new instance of the SmtpException class
Public methodSmtpException(String, Exception)
Initializes a new instance of the SmtpException class
Public methodSmtpException(SmtpStatusCode, String)
Initializes a new instance of the SmtpException class
Properties
  NameDescription
Public propertyData (Inherited from Exception.)
Public propertyErrorDetails
Gets extra information aboout error
(Inherited from AsposeException.)
Public propertyHelpLink (Inherited from Exception.)
Protected propertyHResult (Inherited from Exception.)
Public propertyInnerException (Inherited from Exception.)
Public propertyMessage
Gets a message that describes the current exception.
(Inherited from AsposeException.)
Public propertySource (Inherited from Exception.)
Public propertyStackTrace (Inherited from Exception.)
Public propertyStatusCode
Smtp status code
Public propertyTargetSite (Inherited from Exception.)
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetBaseException (Inherited from Exception.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetObjectData (Inherited from Exception.)
Public methodGetType (Inherited from Exception.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from AsposeException.)
See Also