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)