-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Default validation fails with umlaut in name part #1907
Comments
That's because Unicode in the local part is not valid unless you support RFC6531, which PHPMailer does not (yet), and it involves a lot more than changing address validation; it's also dependent on the server you connect to supporting it. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Validation of "testümläü[email protected]" fails when i use default $patternselect value "php".
This could be fixed in validateAddress()-method by changing
return (bool) filter_var($address, FILTER_VALIDATE_EMAIL);
to
return (bool) filter_var($address, FILTER_VALIDATE_EMAIL, FILTER_FLAG_EMAIL_UNICODE);
The text was updated successfully, but these errors were encountered: