四联光电智能照明论坛

 找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 1939|回复: 0
打印 上一主题 下一主题

验证邮箱是否真实存在的方法

[复制链接]
  • TA的每日心情
    开心
    2018-12-28 16:25
  • 817

    主题

    1556

    帖子

    1万

    积分

    管理员

    Rank: 9Rank: 9Rank: 9

    积分
    14941
    跳转到指定楼层
    楼主
    发表于 2016-10-31 15:44:28 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
    How do you verify if a given email address is real or fake? Well an obvious solution is that you send a test mail to that email address and if your message doesn't bounce, it is safe to assume* that the address is real.
  • Some web domains may have configured a catch-all email address meaning that messages addressed to a non-existent mailbox will not be returned to the sender but in most cases, such email messages will bounce.
  • Ping an Email Address to Validate it!34
    When you send an email to someone, the message goes to an SMTP server which then looks for the MX (Mail Exchange) records of the email recipient's domain.
    For instance, when you send an email to hello@gmail.com, the mail server will try to find the MX records for the gmail.com domain. If the records exist, the next step would be to determine whether that email username (hello in our example) is present or not.
    Using a similar logic, we can verify an email address from the computer without actually sending a test message. Here's how:
    Let say that we want to verify if the address billgates@gmail.com exists or not?
    Ed. note: Amit details a few Windows-specific tips, but this method should work across platforms.
    Step 1. Enable telnet in Windows. Or if you already have the PuTTY utility, skip this step.
    Step 2. Open the command prompt and type the following command:5678
    nslookup –type=mx gmail.com
    This command will extract and list the MX records of a domain as shown below. Replace gmail.com with the domain of the email address that you are trying to verify.
    gmail.com MX preference=30, exchanger = alt3.gmail-smtp-in.l.google.comgmail.com MX preference=20, exchanger = alt2.gmail-smtp-in.l.google.comgmail.com MX preference=5,  exchanger = gmail-smtp-in.l.google.comgmail.com MX preference=10, exchanger = alt1.gmail-smtp-in.l.google.comgmail.com MX preference=40, exchanger = alt4.gmail-smtp-in.l.google.com
    Step 3. As you may have noticed, it is not uncommon to have multiple MX records for a domain. Pick any one of the servers mentioned in the MX records, maybe the one with the lowest preference level number (in our example, gmail-smtp-in.l.google.com), and "pretend" to send a test message to that server from you computer.
    For that, go to a command prompt window and type the following commands in the listed sequence:
    3a: Connect to the mail server:
    telnet gmail-smtp-in.l.google.com 25
    3b: Say hello to the other server
    HELO
    3c: Identify yourself with some fictitious email address
    mail from:<labnol@labnol.org>
    3d: Type the recipient's email address that you are trying to verify:
    rcpt to:<billgates@gmail.com>
    The server response for ‘rcpt to' command will give you an idea whether an email address is valid or not. You'll get an "OK" if the address exists else a 550 error like:
    • abc@gmail.com — The email account that you tried to reach does not exist.
    • support@gmail.com — The email account that you tried to reach is disabled.
    That's it! If the address is valid, you may perform a reverse email search to find the person behind the address. And if you get stuck somewhere, this step-by-step video should help:
    ps:国外在线邮箱验证网址:

    您需要登录后才可以回帖 登录 | 立即注册

    本版积分规则

    QQ|Archiver|手机版|小黑屋|Silian Lighting+ ( 蜀ICP备14004521号-1 )

    GMT+8, 2024-5-3 20:50 , Processed in 1.093750 second(s), 27 queries .

    Powered by Discuz! X3.2

    © 2001-2013 Comsenz Inc.

    快速回复 返回顶部 返回列表