Click or drag to resize

SmtpResponse Class

Represents SMTP server response.
Inheritance Hierarchy
SystemObject
  Limilabs.Client.SMTPSmtpResponse

Namespace:  Limilabs.Client.SMTP
Assembly:  Mail (in Mail.dll) Version: 3.0.23341.1754
Syntax
[SerializableAttribute]
public class SmtpResponse

The SmtpResponse type exposes the following members.

Properties
  NameDescription
Public propertyCode
Gets the status code. 2yz is positive completion reply; 3yz is positive intermediate reply; Other is negative.
Public propertyEnhancedStatusCode
Gets enhanced status code. e.g. 2.1.0. 2.X.X is success; 4.X.X is persistent transient failure; 5.X.X is permanent failure.
Public propertyLines
Gets the lines returned from server as strings. Every line is striped off of the Code and '-' char at the beginning and new line characters at the end.
Public propertyMessage
First line of the response or null if Lines collection is empty.
Public propertyStatus
Gets the status of this response.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current SmtpResponse.
(Overrides ObjectToString.)
Top
See Also