-
-
Notifications
You must be signed in to change notification settings - Fork 59
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
How to reject e-mail addresses with UTF-8 characters in the local part? #7
Comments
As a workaround, I have extended the EmailAddress validator like this:
This seems to work. Is there any better way to handle this? Originally posted by @aimfeld at zendframework/zend-validator#224 (comment) |
Have same problem: Amazon SES allow only 7-bit ASCII characters in local part of e-mail Amazon SES API Docs. I'm not sure if your workaround is best solution, i would prefer flag to be able switch between those utf-8 characters. Originally posted by @Buzka91 at zendframework/zend-validator#224 (comment) |
Closing as stale |
zend-validator 2.9.0 used to reject e-mail addresses with utf-8 characters in the local part (e.g. å or ö). As of zend-validator 2.10.0, such e-mail addresses seem to be considered valid. We are using postmark to send e-mails, which throws an exception at such e-mail addresses. Is there a way to configure
Zend\Validator\EmailAddress
to reject these e-mail addresses?Originally posted by @aimfeld at zendframework/zend-validator#224
The text was updated successfully, but these errors were encountered: