public
encodeString(string $address): string
Encodes an email address.
Symfony\Component\Mime\Exception\AddressEncoderException
if the email cannot be represented in the encoding implemented by this class
Symfony\Component\Mime\Encoder\IdnAddressEncoder::encodeString()