IdnAddressEncoder
in package
implements
AddressEncoderInterface
An IDN email address encoder.
Encodes the domain part of an address using IDN. This is compatible will all SMTP servers.
This encoder does not support email addresses with non-ASCII characters in local-part (the substring before @).
Tags
Interfaces, Classes, Traits and Enums
Table of Contents
- 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