struct Athena::MIME::Encoder::IDNAddress
- Athena::MIME::Encoder::IDNAddress
- Struct
- Value
- Object
Overview
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.
Included Modules
Defined in:
encoder/idn_address.crConstructors
Instance Method Summary
-
#encode(address : String) : String
Returns an encoded version of the provided address.
- #initialize