struct

Athena::MIME::Encoder::IDNAddress

Inherits Athena::MIME::Encoder::AddressEncoderInterface < Struct < Value < Object

An IDNA encoder (RFC 5980), defined in RFC 3492.

Encodes the domain part of an address using IDN. This is compatible will all SMTP servers.

NOTE: The local part is left as-is. In case there are non-ASCII characters in the local part then it depends on the SMTP Server if this is supported.

Constructors

Instance methods

encode(address : String) : String

Returns an encoded version of the provided address.

Source
initialize
Source