Swift_AddressEncoder_IdnAddressEncoder
in package
implements
Swift_AddressEncoder
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 @). To send to such addresses, use Swift_AddressEncoder_Utf8AddressEncoder together with Swift_Transport_Esmtp_SmtpUtf8Handler. Your outbound SMTP server must support the SMTPUTF8 extension.
Tags
Interfaces, Classes and Traits
- Swift_AddressEncoder
- Email address encoder.
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