MailboxAddress(String, String) Constructor

Initialize a new instance of the MailboxAddress class.

Definition

Namespace: MimeKit
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public MailboxAddress(
	string? name,
	string address
)

Parameters

name  String
The name of the mailbox.
address  String
The address of the mailbox.

Remarks

Creates a new MailboxAddress with the specified name and address.

Exceptions

ArgumentNullException address is .
ParseException address is malformed.

See Also