The SmtpResponse type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() ![]() | SmtpResponse(Int32, String, String) |
Initializes a new instance of the SmtpResponse class with the specified code, description and raw response string.
|
![]() ![]() | SmtpResponse(Int32, Int32, Int32, String, String) |
Initializes a new instance of the SmtpResponse class with the specified code, enhanced code, description and raw response string.
|
Methods
Name | Description | |
---|---|---|
![]() ![]() | Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() ![]() | Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
![]() ![]() | GetHashCode | Serves as a hash function for a particular type. GetHashCode()()()() is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) |
![]() ![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() ![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() ![]() | ToString | Returns a String that represents the current Object. (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
![]() ![]() | Class |
Gets the class of enhanced SMTP status code, or -1 if not supported.
|
![]() ![]() | Code |
Gets the SMTP response code.
|
![]() ![]() | Description |
Gets the description of the SMTP response.
|
![]() ![]() | Detail |
Gets the detail code of enhanced SMTP status code, or -1 if not supported.
|
![]() ![]() | Group |
Gets the group of the SMTP response code.
|
![]() ![]() | Raw |
Gets the full unparsed response of the SMTP server.
|
![]() ![]() | Subject |
Gets the subject code of enhanced SMTP status code, or -1 if not supported.
|
![]() ![]() | Success |
Returns true when last command was completed successfully.
|