Smtp Command Exception(Smtp Error Code, Smtp Status Code, Mailbox Address, String, Exception) Constructor
Initializes a new instance of the SmtpCommandException class.
Definition
Namespace: MailKit.Net.Smtp
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
C#
public SmtpCommandException(
SmtpErrorCode code,
SmtpStatusCode status,
MailboxAddress mailbox,
string message,
Exception innerException
)Parameters
- code SmtpErrorCode
- The error code.
- status SmtpStatusCode
- The status code.
- mailbox MailboxAddress
- The rejected mailbox.
- message String
- The error message.
- innerException Exception
- The inner exception.
Remarks
Creates a new SmtpCommandException.