且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

寻找免费的电子邮件地址验证Web服务或代码

更新时间:2023-02-25 10:28:27

没有具体答案,但是就语法验证而言,您可以使用正则表达式.您无需在网上就可以找到很多东西.要验证电子邮件地址是真实的,您可以连接到处理该帐户的SMTP服务器.使用MX查找来确定服务器,然后查看SMTP协议,基本上,您需要发送MAIL FROM:RCPT TO:命令,并确保服务器不会抱怨未知用户.

再次,我没看过,但我确定您可以在网上找到有关此内容的信息.
No specific answers, but in terms of syntax validation you can use regular expressions. You won''t have to look far on the net to find stuff on this. To validate the email address is actually real, you can connect to the SMTP server which handles the account. Use an MX lookup to determine the server then look at the SMTP protocol, you basically need to send MAIL FROM: RCPT TO: commands and make sure the server doesn''t complain about an unknown user.

Again, I haven''t looked but I''m sure you can find stuff for this on the net.