Bertrand Guay-Paquet created TOMEE-407:
------------------------------------------
Summary: JavaMail javax.mail.Session resources do not work with
authentication
Key: TOMEE-407
URL: https://issues.apache.org/jira/browse/TOMEE-407
Project: TomEE
Issue Type: Bug
Affects Versions: 1.0.0
Reporter: Bertrand Guay-Paquet
Priority: Critical
Based on:
http://openejb.979440.n4.nabble.com/javax-mail-Session-resource-and-smtp-authentication-td4322915.html
http://openejb.979440.n4.nabble.com/JavaMail-Session-with-Authentication-tp4657144.html
javax.mail.Session resources created by TomEE do not use the provided
authentication parameters.
With the instructions from http://tomee.apache.org/configuring-javamail.html,
the password property is not taken into account.
According to JavaMail's javadoc
(http://javamail.kenai.com/nonav/javadocs/com/sun/mail/smtp/package-summary.html),
a PasswordAuthenticator instance should be passed to Session.getInstance()
when retrieving the javamail session.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira