SmtpResponse Constructor
Namespace: Rebex.Net
Assembly: Rebex.Smtp.dll (version 7.0.9083)
SmtpResponse(Int32, String, String)
Initializes a new instance of the SmtpResponse class with the specified code, description and raw response string.
Declaration
public SmtpResponse(int code, string description, string raw)
Parameters
Type | Name | Description |
---|---|---|
Int32 | code | The SMTP response code. Must be in range of 100 to 599. |
String | description | The description of the response code. |
String | raw | Raw SMTP response. |
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.
Declaration
public SmtpResponse(int code, int subject, int detail, string description, string raw)
Parameters
Type | Name | Description |
---|---|---|
Int32 | code | The SMTP response code. Must be in range of 100 to 599. |
Int32 | subject | The SMTP enhanced response code subject. Must be in range of 1 to 999. |
Int32 | detail | The SMTP enhanced response code detail. Must be in range of 1 to 999. |
String | description | The description of the response code. |
String | raw | Raw SMTP response. |