SmtpResponse Constructor Ipswitch.Messaging.Framework
Initialize a new SmtpResponse instance.

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

public SmtpResponse(
	string fullResponse,
	SmtpResponseCategory category,
	SmtpResponseCode code,
	string[] messages
)

Parameters

fullResponse
Type: SystemString
The entire response from the server (including lines after the first in a multi-line response).
category
Type: Ipswitch.Messaging.Framework.MailSmtpResponseCategory
The general category that this response falls into. This should directly correspond to the value of code.
code
Type: Ipswitch.Messaging.Framework.MailSmtpResponseCode
The exact response code sent by the server.
messages
Type: SystemString
The array of message string sent by the server. Each string should be a message line from the server's response and not include the response code or the separator between the code and the message.
See Also

Reference