Click or drag to resize
MimeKit

MailboxAddressEncodeAddrspec Method

Encode an addrspec token according to IDN encoding rules.

Namespace: MimeKit
Assembly: MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax
C#
public static string EncodeAddrspec(
	string addrspec
)

Parameters

addrspec  String
The addrspec token.

Return Value

String
The encoded addrspec token.
Exceptions
ExceptionCondition
ArgumentNullExceptionaddrspec is null.
Remarks
Encodes an addrspec token according to IDN encoding rules.
See Also