Mailbox Address(String, String) Constructor
Initialize a new instance of the MailboxAddress class.
Definition
Namespace: MimeKit
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public MailboxAddress(
string? name,
string address
)Parameters
Remarks
Creates a new MailboxAddress with the specified name and address.
Exceptions
| ArgumentNullException | address is . |
| ParseException | address is malformed. |