Click or drag to resize
MimeKit

MailboxAddress Constructor (String, String)

Initializes a new instance of the MailboxAddress class.

Namespace:  MimeKit
Assembly:  MimeKit (in MimeKit.dll) Version: 2.3.0
Syntax
C#
public MailboxAddress(
	string name,
	string address
)

Parameters

name
Type: SystemString
The name of the mailbox.
address
Type: SystemString
The address of the mailbox.
Exceptions
ExceptionCondition
ArgumentNullExceptionaddress is null.
ParseExceptionaddress is malformed.
Remarks
Creates a new MailboxAddress with the specified name and address.
See Also