How should I verify email address existence and domain name existence in javascript or nodeJs?

对着背影说爱祢 提交于 2019-11-29 02:44:42

Today (and probably never) it is not possible to programmatically verify an email address.

The server its at won't for both security and privacy reasons allow that.

And for a good reason. With such solution, spammers etc. could traverse all the servers and get every email address available.

As a note, there are tools out there that claims being email verification solutons. They generally use DNS validations, including MX record(s) lookup, but they can't with 100% accuracy say if an email address exist or not, they can only get what the email server is setup to give them.


Domain name can be though, and NSLookup is one of the services that can do that.


Updated

I found a few good reads at SO (where the first is actually a dupe, though can't close it myself)

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!