News for hackers. Stuff that matters.
Re:Show HN: Deep Email Validator by jedberg on Wednesday December 16, 2020 @02:07PM (#25446937)
There is exactly one right way to validate an email: send a message to it.

Email is a very old protocol with a lot of hacks and backwards compatibility. At this point, pretty much any string could be a valid email address. You can certainly run a bunch of tests and get a decent signal, but it's a lot of work, and if you reject an email address without testing it you're going to cause someone some trouble at some point. It's a lot easier and more accurate to just accept the string and try to send email to it.

Re:Show HN: Deep Email Validator by mfbx9da4 on Monday December 21, 2020 @08:19AM (#25494633)
It’s not a lot of work if you use a library. You will still need to do verification but saves you destroying your email domain reputation