什么是最好的Java电子邮件地址验证方法? [英] What is the best Java email address validation method?
问题描述
Apache Commons通常被称为一个坚实的项目。不过请注意,如果您想要确保它是真正的电子邮件,并且所有者希望在您的网站上使用,您仍然必须向该地址发送验证电子邮件。
编辑:有一个错误在域上太限制,导致其不接受来自新TLD的有效电子邮件。
此错误已于03年1月3日解决/ 15 02:48 in commons-validator 版本1.4.1
What are the good email address validation libraries for Java? Are there any alternatives to commons validator?
Apache Commons is generally known as a solid project. Keep in mind, though, you'll still have to send a verification email to the address if you want to ensure it's a real email, and that the owner wants it used on your site.
EDIT: There was a bug where it was too restrictive on domain, causing it to not accept valid emails from new TLDs.
This bug was resolved on 03/Jan/15 02:48 in commons-validator version 1.4.1
这篇关于什么是最好的Java电子邮件地址验证方法?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!