如何知道电子邮件地址是否无效? [英] How to know if a email address is invalid?

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

问题描述

我的电子邮件地址在www.email.it已被禁用,因为我没有使用它很长一段时间。

My email address on www.email.it has been disabled because I haven't used it for a long time.

现在,当我去一个FB ,我收到以下消息:

Now, when I go on a FB, I get this message:

"Our systems have detected that xxxxxxx@email.it is no longer a valid email. "

所以我的问题是:

这些系统如何检测电子邮件是否有效?

推荐答案

您无法检测到电子邮件是否是假的。您只能检测字符串是否符合有效的电子邮件地址格式的 RFC 5322 。您不可能知道这样的帐户是否已在目标SMTP服务器上声明,除非您拥有此服务器。您可以尝试向该地址发送电子邮件,并查看远程SMTP服务器的响应。

You cannot detect if an email is fake. All you can do is to detect whether a string respects the RFC 5322 of a valid email address format. You can't possibly know whether such an account has been declared at the target SMTP server unless you own this server. You can probably try to send an email to this address and see what does the remote SMTP server responds.

这篇关于如何知道电子邮件地址是否无效?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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