Encapsulates a response from an SMTP server.
Inheritance Hierarchy
Ipswitch.Messaging.Framework.MailSmtpResponse
Namespace: Ipswitch.Messaging.Framework.Mail
Assembly: Ipswitch.Messaging.Framework (in Ipswitch.Messaging.Framework.dll) Version: 1.0.0.0
Syntax
The SmtpResponse type exposes the following members.
Constructors
Name | Description | |
---|---|---|
SmtpResponse |
Initialize a new SmtpResponse instance.
|
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToString |
Gets the string representation of this SmtpResponse.
(Overrides ObjectToString.) |
Properties
Name | Description | |
---|---|---|
Category |
Gets the category that this response falls into (OK, Failure, Temporary Failure, OK but Waiting for more).
| |
Code |
Gets the response code sent by the server.
| |
FullResponse |
Gets the entire response sent by the server.
| |
Messages |
Gets the message strings sent by the server in its response. Each string will be the message from one of the response lines without the response code.
|
See Also