Y
Hacker News
new
|
ask
|
show
|
jobs
by
heyimfromreddit
5475 days ago
Funny, but email validations should already just check that the address contains an @ symbol and leave it at that.
2 comments
mdpm
5475 days ago
uh, nope. Email validation should check there's a valid MX record for the domain in question, and leave it at
that
.
link
Luyt
5475 days ago
Or a valid address record. Mailers fall back to 'A' records in the absence of a 'MX' record.
link
mdpm
5475 days ago
yes, and we could continue into checking something is actually listening for mail there, etc. But you get my point :)
link
jannes
5475 days ago
They should also check that neither part is empty. But other than that you are right.
link