MailKit Documentation
MailKit Documentation
API Reference
MimeKit
InternetAddress Class
InternetAddress Methods
Parse Method
Parse(Byte[]) Method
Parse(String) Method
Parse(Byte[], Int32) Method
Parse(ParserOptions, Byte[]) Method
Parse(ParserOptions, String) Method
Parse(Byte[], Int32, Int32) Method
Parse(ParserOptions, Byte[], Int32) Method
Parse(ParserOptions, Byte[], Int32, Int32) Method
Internet
Address
Parse(String) Method
Parse the given text into a new
InternetAddress
instance.
Namespace:
MimeKit
Assembly:
MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax
C#
Copy
public
static
InternetAddress
Parse
(
string
text
)
Parameters
text
String
The text.
Return Value
InternetAddress
The parsed
InternetAddress
.
Exceptions
Exception
Condition
ArgumentNullException
text
is
null
.
ParseException
text
could not be parsed.
Remarks
Parses a single
MailboxAddress
or
GroupAddress
. If the text contains more data, then parsing will fail.
See Also
Reference
InternetAddress Class
Parse Overload
MimeKit Namespace
Copyright © 2013-2023 Jeffrey Stedfast
Send comments on this topic to
Jeffrey Stedfast