Click or drag to resize
MimeKit

MailboxAddress(String, IEnumerableString, String) Constructor

Initialize a new instance of the MailboxAddress class.

Namespace: MimeKit
Assembly: MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax
C#
public MailboxAddress(
	string name,
	IEnumerable<string> route,
	string address
)

Parameters

name  String
The name of the mailbox.
route  IEnumerableString
The route of the mailbox.
address  String
The address of the mailbox.
Exceptions
ExceptionCondition
ArgumentNullException

route is null.

-or-

address is null.

ParseExceptionaddress is malformed.
Remarks
Creates a new MailboxAddress with the specified name, address and route.
See Also