You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Arnaud MERGEY (JIRA)" <ji...@apache.org> on 2014/10/08 15:10:34 UTC
[jira] [Created] (GERONIMO-6533) [Geronimo Javamail]
InternetAddress should throw exception in strict mode for invalid address
Arnaud MERGEY created GERONIMO-6533:
---------------------------------------
Summary: [Geronimo Javamail] InternetAddress should throw exception in strict mode for invalid address
Key: GERONIMO-6533
URL: https://issues.apache.org/jira/browse/GERONIMO-6533
Project: Geronimo
Issue Type: Bug
Security Level: public (Regular issues)
Components: mail
Reporter: Arnaud MERGEY
Unlike Oracle Javamail to Geronimo Javamail implementation, Geronimo Javamail accept invalid emails even in strict mode
Executing;
<code> javax.mail.internet.InternetAddress("a",true);</code>
fails throwing AddressException with Oracle Javamail, but succeed with Geronimo Javamail
validate() succeed as well, it should throw an exception when address is not an email address
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)