Click or drag to resize
MimeKit

MailboxAddressGetAddress Method

Get the mailbox address, optionally encoded according to IDN encoding rules.

Namespace:  MimeKit
Assembly:  MimeKit (in MimeKit.dll) Version: 2.14.0
Syntax
C#
public string GetAddress(
	bool idnEncode
)

Parameters

idnEncode
Type: SystemBoolean
true if the address should be encoded according to IDN encoding rules; otherwise, false.

Return Value

Type: String
The mailbox address.
Remarks
If idnEncode is true, then the returned mailbox address will be encoded according to the IDN encoding rules.
See Also