Click or drag to resize
MimeKit

SmtpResponse Constructor

Initializes a new instance of the SmtpResponse class.

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

Parameters

code
Type: MailKit.Net.SmtpSmtpStatusCode
The status code.
response
Type: SystemString
The response text.
Remarks
Creates a new SmtpResponse.
See Also