0

我正在 ac# 应用程序中验证电子邮件地址,除了正则表达式之外,我还计划通过与邮件交换器通信来添加一些高级验证,并获得此类电子邮件地址是否存在的响应

有没有人有这样做的好主意?我知道一个可以检查它的网站:

http://www.ip-address.org/verify/email-checker.php

但我不确定网站用于验证的方法是什么。我尝试在我的邮件交换器上模拟 telnet 会话,然后发送命令

MAIL FROM and RCPT TO

但它不起作用,要么连接被阻止,要么响应错误

4

1 回答 1

0

The technique you describe no longer works and variations on it don't work either-- the mail server will respond incorrectly or mark you as a spammer, ref. http://www.spamresource.com/2010/11/smtp-address-validation-bad-idea.html

Mail-Bee NET has some features like this and the documentation says it can work, but you need to convince the other mail servers that you are also a mail server. http://www.afterlogic.com/mailbee-net/docs/getting_started_with_address_validator.html

Either way, it sounds like a risky project and likely to get your mail server blacklisted.

于 2014-09-15T21:25:15.940 回答