SmtpResponse Constructor

Initializes a new instance of the SmtpResponse class.

Definition

Namespace: MailKit.Net.Smtp
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
C#
public SmtpResponse(
	SmtpStatusCode code,
	string responseText
)

Parameters

code  SmtpStatusCode
The status code.
responseText  String
The response text.

Remarks

Creates a new SmtpResponse.

See Also