如何使用 AJAX 或 JS 检查 Gmail 帐户是否被占用?

问题描述

我正在尝试编写一个程序来检查是否使用了 gmail 地址。 现在我可以使用终端来检查是否使用了 gmail 地址。

$ telnet gmail-smtp-in.l.google.com 25
Trying 173.194.204.26...
Connected to gmail-smtp-in.l.google.com.
Escape character is '^]'.
220 mx.google.com ESMTP a3si10427297qtj.266 - gsmtp
helo gmail
250 mx.google.com at your service
mail from: <randomgmailaddress@gmail.com>
250 2.1.0 OK a3si10427297qtj.266 - gsmtp
rcpt to: <randomgmailaddress@gmail.com>
550-5.1.1 The email account that you tried to reach does not exist. Please try
550-5.1.1 double-checking the recipient's email address for typos or
550-5.1.1 unnecessary spaces. Learn more at
550 5.1.1  https://support.google.com/mail/?p=NoSuchUser a3si10427297qtj.266 - gsmtp
^]
telnet> q
Connection closed.

但是,我希望能够做到这一点,或者在一个简单的 JS 函数中使用另一种方法来检查电子邮件是否已被接收。我该怎么做?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)