Click or drag to resize
MimeKit

SmtpCommandException(SmtpErrorCode, SmtpStatusCode, String, Exception) Constructor

Initializes a new instance of the SmtpCommandException class.

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

Parameters

code  SmtpErrorCode
The error code.
status  SmtpStatusCode
The status code.
message  String
The error message.
innerException  Exception
The inner exception.
Remarks
Creates a new SmtpCommandException.
See Also