[
https://issues.apache.org/jira/browse/GERONIMO-6533?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14176317#comment-14176317
]
Hendrik Saly commented on GERONIMO-6533:
----------------------------------------
Will look into rfc-2606, but the root cause of this problem is that geronimo
javamail seems not to be strict enough with respect to rfc822 ...
> [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)