[ 
https://issues.apache.org/jira/browse/GERONIMO-6533?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14186579#comment-14186579
 ] 

Hendrik Saly commented on GERONIMO-6533:
----------------------------------------

I plan to change the address validation (to be more strict and API compliant) 
in geronimo javamail 1.5 and leave 1.4 as it is (for the above mentioned 
reasons).
Will also iincorporate the suggestions from Mark.

Any comments/objections?

> [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)

Reply via email to