Click or drag to resize
MimeKit

SmtpCommandException(SmtpErrorCode, SmtpStatusCode, MailboxAddress, String) Constructor

Initializes a new instance of the SmtpCommandException class.

Namespace: MailKit.Net.Smtp
Assembly: MailKit (in MailKit.dll) Version: 4.7.1
Syntax
C#
public SmtpCommandException(
	SmtpErrorCode code,
	SmtpStatusCode status,
	MailboxAddress mailbox,
	string message
)

Parameters

code  SmtpErrorCode
The error code.
status  SmtpStatusCode
The status code.
mailbox  MailboxAddress
The rejected mailbox.
message  String
The error message.
Remarks
Creates a new SmtpCommandException.
See Also