IdnAddressEncoder
in package
implements
AddressEncoderInterface
FinalYes
An IDN email address encoder.
Encodes the domain part of an address using IDN. This is compatible will all SMTP servers.
Note: It leaves the local part as is. In case there are non-ASCII characters in the local part then it depends on the SMTP Server if this is supported.
Tags
Table of Contents
Interfaces
Methods
- encodeString() : string
- Encodes the domain part of an address using IDN.
Methods
encodeString()
Encodes the domain part of an address using IDN.
public
encodeString(string $address) : string
Parameters
- $address : string