You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Romain Manni-Bucau (JIRA)" <ji...@apache.org> on 2012/09/10 08:49:07 UTC

[jira] [Closed] (TOMEE-407) JavaMail javax.mail.Session resources do not work with authentication

     [ https://issues.apache.org/jira/browse/TOMEE-407?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Romain Manni-Bucau closed TOMEE-407.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.1.0
    
> 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
>              Labels: javamail, session
>             Fix For: 1.1.0
>
>
> 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