-
-
Notifications
You must be signed in to change notification settings - Fork 149
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
Validators::isEmail: Add check for DNS nameservers. #269
base: master
Are you sure you want to change the base?
Conversation
…turn objects Type (BC break)
You don't need MX record. A, or AAAA is sufficient to deliver e-mails. |
Also I think Ideal would imho be to support only fully FQDN - if trailing dot is missing, add it. It should prevent multiple lookups with relative domain name. So instead of |
Part after To IDN - yes, |
@janbarasek can you update PR please? |
There was forum post about this 8 years ago https://forum.nette.org/en/1293-mail-adress-validation-mx-records and it contains good points which needs to be solved. |
I don't think so
We only want to check that domain/hostname exists, not that they has correctly configured mail delivery. If domain/hostname is wrong, MTA fails immediately (that's what we want to prevent). If domain/hostname is correct, but MX records are incorrect or host is down, MTA will use queue and will try to deliver later. |
8cb1b67
to
5002ffb
Compare
6733224
to
5de10a1
Compare
a846fab
to
736c567
Compare
cd9170e
to
2b48b24
Compare
E-mail should be valid only in case of domain name use valid
MX
DNS record.Examples: