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: 4.3.0
Syntax
C#
public string GetAddress(
	bool idnEncode
)

Parameters

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

Return Value

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