MailKit Documentation
MailKit Documentation
API Reference
MimeKit
MailboxAddress Class
MailboxAddress 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
Mailbox
Address
Parse(String) Method
Parse the given text into a new
MailboxAddress
instance.
Namespace:
MimeKit
Assembly:
MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax
C#
Copy
public
static
MailboxAddress
Parse
(
string
text
)
Parameters
text
String
The text.
Return Value
MailboxAddress
The parsed
MailboxAddress
.
Exceptions
Exception
Condition
ArgumentNullException
text
is
null
.
ParseException
text
could not be parsed.
Remarks
Parses a single
MailboxAddress
. If the address is not a mailbox address or there is more than a single mailbox address, then parsing will fail.
See Also
Reference
MailboxAddress Class
Parse Overload
MimeKit Namespace
Copyright © 2013-2023 Jeffrey Stedfast
Send comments on this topic to
Jeffrey Stedfast