Discussion:
Geronimo Javamail wrong mail validation
amergey
2014-10-08 09:46:31 UTC
Permalink
Hello,

Hope this is the right list for Geronimo Javamail.

Switching from Oracle Javamail to Geronimo Javamail implementation, I
noticed a different behavior with my code.

<code>new javax.mail.internet.InternetAddress("a",true);</code>

fails throwing AddressException with Oracle JDK but succeed in Geronimo
Javamail, validate() on this address succeed as well, it seems to be a bug
to me am I right ?



--
View this message in context: http://apache-geronimo.328035.n3.nabble.com/Geronimo-Javamail-wrong-mail-validation-tp3988353.html
Sent from the Users mailing list archive at Nabble.com.
Hendrik Dev
2014-10-08 12:42:59 UTC
Permalink
Seems like a bug, can you file a jira for this?

Not direct related but here is some discussion about "rfc822 strictness":
https://java.net/projects/javamail/forums/forum/topics/160807-strict-or-non-strict-parsing-and-RFC-compliance
Post by amergey
Hello,
Hope this is the right list for Geronimo Javamail.
Switching from Oracle Javamail to Geronimo Javamail implementation, I
noticed a different behavior with my code.
<code>new javax.mail.internet.InternetAddress("a",true);</code>
fails throwing AddressException with Oracle JDK but succeed in Geronimo
Javamail, validate() on this address succeed as well, it seems to be a bug
to me am I right ?
--
View this message in context: http://apache-geronimo.328035.n3.nabble.com/Geronimo-Javamail-wrong-mail-validation-tp3988353.html
Sent from the Users mailing list archive at Nabble.com.
--
Hendrik Saly (salyh, hendrikdev22)
@hendrikdev22
PGP: 0x22D7F6EC
amergey
2014-10-08 13:15:41 UTC
Permalink
Thanks,
I have filled https://issues.apache.org/jira/browse/GERONIMO-6533





--
View this message in context: http://apache-geronimo.328035.n3.nabble.com/Geronimo-Javamail-wrong-mail-validation-tp3988353p3988356.html
Sent from the Users mailing list archive at Nabble.com.
Mark Struberg
2014-10-17 06:50:32 UTC
Permalink
hi amergey!

Thanks for the report.
@Hendrik are you fit in this area and like to probably take a look yourself?
Of course I could help a bit but I'm not as good at javamail (didn't even look at the sources for a loooong time). Maybe Romain might help you as well. Just check us out on IRC in #openwebbeans or #openejb for example if you need a quick answer.

Otherwise just reply on the list ;)


txs and LieGrue,
strub
Post by amergey
T hanks,
I have filled https://issues.apache.org/jira/browse/GERONIMO-6533
--
http://apache-geronimo.328035.n3.nabble.com/Geronimo-Javamail-wrong-mail-validation-tp3988353p3988356.html
Sent from the Users mailing list archive at Nabble.com.
Hendrik Dev
2014-10-18 22:35:59 UTC
Permalink
see https://issues.apache.org/jira/browse/GERONIMO-6533?focusedCommentId=14176155&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14176155
Post by Mark Struberg
hi amergey!
Thanks for the report.
@Hendrik are you fit in this area and like to probably take a look yourself?
Of course I could help a bit but I'm not as good at javamail (didn't even look at the sources for a loooong time). Maybe Romain might help you as well. Just check us out on IRC in #openwebbeans or #openejb for example if you need a quick answer.
Otherwise just reply on the list ;)
txs and LieGrue,
strub
Post by amergey
T hanks,
I have filled https://issues.apache.org/jira/browse/GERONIMO-6533
--
http://apache-geronimo.328035.n3.nabble.com/Geronimo-Javamail-wrong-mail-validation-tp3988353p3988356.html
Sent from the Users mailing list archive at Nabble.com.
--
Hendrik Saly (salyh, hendrikdev22)
@hendrikdev22
PGP: 0x22D7F6EC
Loading...