检查是否电子邮件地址存在 [英] Checking if an email address exists

查看:352
本文介绍了检查是否电子邮件地址存在的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

可能重复:
  <一href="http://stackoverflow.com/questions/565504/how-to-check-if-an-email-address-exists-without-sending-an-email">How检查电子邮件地址不存在发送电子邮件?

您如何检查电子邮件地址实际存在(不只是验证)?如何做这些家伙做: http://www.email-unlimited.com/工具/验证,email.aspx

How can you check if an email address actually exists (not just validating)? How do these guys do it: http://www.email-unlimited.com/tools/verify-email.aspx

看来工作...

推荐答案

SMTP协议具有接收服务器上的邮箱和的可以的,如果返回一个OKcode命令RCPT该邮箱存在。请注意,有些服务器并不在顺序扫描的有效地址,这样做是为了prevent垃圾邮件发送者。

The SMTP protocol has the command RCPT that receives a mailbox on the server and may return an "ok" code if that mailbox exists. Note that some servers don't do this in order to prevent spammers from scanning for valid addresses.

什么电子邮件无限做的是以下内容:

What email-unlimited do is the following:

  1. 使用电子邮件域查找SMTP服务器
  2. 在开始与SMTP服务器的会话,并给它发送命令RCPT:
  3. 结束会话

如果SMTP服务器在步骤2中返回一个OKcode,然后他们决定信箱存在。

If the SMTP server returns an "ok" code in step 2, then they decide that the mailbox exists.

这篇关于检查是否电子邮件地址存在的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆