Initializes a new instance of the SmtpResponse class with the specified code, description and raw response string.

Namespace:  Rebex.Net
Assembly:  Rebex.Smtp (in Rebex.Smtp.dll)

Syntax

Visual Basic
Public Sub New ( _
	code As Integer, _
	description As String, _
	raw As String _
)
C#
public SmtpResponse(
	int code,
	string description,
	string raw
)

Parameters

code
Type: System..::..Int32
The SMTP response code. Must be in range of 100 to 599.
description
Type: System..::..String
The description of the response code.
raw
Type: System..::..String
Raw SMTP response.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also