-
-
Notifications
You must be signed in to change notification settings - Fork 145
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
38d3044
to
a3ce3eb
Compare
38cc5db
to
0a8a17e
Compare
4b7b01e
to
494d200
Compare
b843c77
to
77e9645
Compare
7ae8df7
to
0d1508c
Compare
5b5c893
to
81e3e6d
Compare
b080db7
to
d668e02
Compare
1e73622
to
d6a9961
Compare
E-mail should be valid only in case of domain name use valid
MX
DNS record.Examples: