SmtpUtf8AddressException(MailboxAddress, SmtpUtf8AddressError, String) Constructor

Initializes a new instance of the SmtpUtf8AddressException class.

Definition

Namespace: MailKit.Net.Smtp
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
C#
public SmtpUtf8AddressException(
	MailboxAddress mailbox,
	SmtpUtf8AddressError error,
	string message
)

Parameters

mailbox  MailboxAddress
The invalid mailbox.
error  SmtpUtf8AddressError
The reason that the mailbox address is invalid.
message  String
The error message.

Remarks

Creates a new SmtpUtf8AddressException.

Exceptions

ArgumentNullException mailbox is .

See Also