Click or drag to resize
MimeKit

InternetAddressListParse(ParserOptions, String) Method

Parse the given text into a new InternetAddressList instance.

Namespace: MimeKit
Assembly: MimeKit (in MimeKit.dll) Version: 4.3.0
Syntax
C#
public static InternetAddressList Parse(
	ParserOptions options,
	string text
)

Parameters

options  ParserOptions
The parser options to use.
text  String
The text.

Return Value

InternetAddressList
The parsed InternetAddressList.
Exceptions
ExceptionCondition
ArgumentNullException

options is null.

-or-

text is null.

ParseExceptiontext could not be parsed.
Remarks
Parses a list of addresses from the specified text.
See Also