SmtpResponse ClassIpswitch.Messaging.Framework
Encapsulates a response from an SMTP server.
Inheritance Hierarchy

SystemObject
  Ipswitch.Messaging.Framework.MailSmtpResponse

Namespace: Ipswitch.Messaging.Framework.Mail
Assembly: Ipswitch.Messaging.Framework (in Ipswitch.Messaging.Framework.dll) Version: 1.0.0.0
Syntax

public class SmtpResponse

The SmtpResponse type exposes the following members.

Constructors

  NameDescription
Public methodSmtpResponse
Initialize a new SmtpResponse instance.
Top
Methods

  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Gets the string representation of this SmtpResponse.
(Overrides ObjectToString.)
Top
Properties

  NameDescription
Public propertyCategory
Gets the category that this response falls into (OK, Failure, Temporary Failure, OK but Waiting for more).
Public propertyCode
Gets the response code sent by the server.
Public propertyFullResponse
Gets the entire response sent by the server.
Public propertyMessages
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.
Top
See Also

Reference