Click or drag to resize
MimeKit

InternetAddressParse(String) Method

Parse the given text into a new InternetAddress instance.

Namespace: MimeKit
Assembly: MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax
C#
public static InternetAddress Parse(
	string text
)

Parameters

text  String
The text.

Return Value

InternetAddress
The parsed InternetAddress.
Exceptions
ExceptionCondition
ArgumentNullExceptiontext is null.
ParseExceptiontext could not be parsed.
Remarks
Parses a single MailboxAddress or GroupAddress. If the text contains more data, then parsing will fail.
See Also