Re:Ask HN: What is the norm for email validation?
by taylorcooney on Wednesday June 14, 2017 @01:35PM
(#14554394)
I want to be checking for errors after the '@' symbol, such as @gmial.com or @gmail.con
[ Parent
| on HN ]
Re:Ask HN: What is the norm for email validation?
by stephenr on Wednesday June 14, 2017 @01:47PM
(#14554509)
Right so as I said, do a hostname lookup: if you get a result (ie not nxdomain) then it's ok, if not, it isn't registered, is a non existent tld, or has no records, all of which mean mail will fail.