InternetAddressEncoding Property

Get or set the character encoding to use when encoding the name of the address.

Definition

Namespace: MimeKit
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public Encoding Encoding { get; set; }

Property Value

Encoding
The character encoding.

Remarks

The character encoding is used to convert the Name property, if it is set, to a stream of bytes when encoding the internet address for transport.

Exceptions

See Also