From eda0313e076f4c94238a3bcf513423ba8a2ee24b Mon Sep 17 00:00:00 2001 From: Marcus Bointon Date: Fri, 28 Mar 2025 09:59:05 +0100 Subject: [PATCH] Explain eai --- src/PHPMailer.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/PHPMailer.php b/src/PHPMailer.php index 13760bf1..b40e153d 100644 --- a/src/PHPMailer.php +++ b/src/PHPMailer.php @@ -1460,6 +1460,8 @@ class PHPMailer * form input elements (as above), modified to accept Unicode email addresses. * This is also more lenient than Firefox' html5 spec, in order to make the regex faster. * 'eai' is an acronym for Email Address Internationalization. + * This validator is used automatically if you attempt to use recipient addresses + * that contain Unicode characters in the local part. * * @see https://html.spec.whatwg.org/#e-mail-state-(type=email) * @see https://en.wikipedia.org/wiki/International_email