Click or drag to resize
MimeKit

MailboxAddress Constructor (IEnumerableString, String)

Note: This API is now obsolete.

Initialize a new instance of the MailboxAddress class.

Namespace:  MimeKit
Assembly:  MimeKit (in MimeKit.dll) Version: 2.14.0
Syntax
C#
[ObsoleteAttribute("This constructor will be going away. Use new MailboxAddress(string name, IEnumerable<string> route, string address) instead.")]
public MailboxAddress(
	IEnumerable<string> route,
	string address
)

Parameters

route
Type: System.Collections.GenericIEnumerableString
The route of the mailbox.
address
Type: SystemString
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 address and route.
See Also