在java中检查是否存在EmailId。 [英] check wether an EmailId is in existence or not in java.

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

问题描述





如何检查是否存在电子邮件。

使用java



先谢谢............,





问候

Sindhu

解决方案

这是不可能的。通过在To:标题中使用外观正确但不存在的地址发送一些消息,可以很容易地证明这一点。您唯一可以验证的是域名的有效性,使用DNS和/或甚至ping它。但它无法解决这个问题。



这不是邮件系统的工作方式。



-SA

Hi,

How to check whether any "Email" Exists or not.
Using java

Thanks in Advance............,


Regards
Sindhu

解决方案

It is not possible. It's easy to prove by sending some message using correctly-looking but not existing address in the "To:" header. The only thing you can validate is the validity of the domain name, by using DNS and/or even pinging it. But it wold not solve this problem.

This is not how this mail system works.

—SA


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

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