[
http://jira.jboss.com/jira/browse/JBESB-1696?page=all ]
Kevin Conner closed JBESB-1696.
-------------------------------
Resolution: Done
The code has been changed so that it is no longer using the default session. The
credentials are okay though, they are only used for outgoing communication.
As the credentials are a global parameter we can only support sending SMTP via a single
server. This should be sufficient for most use cases although it is something that will
change with ESB 5.
Email helper is buggy - session handling and authentication
-----------------------------------------------------------
Key: JBESB-1696
URL:
http://jira.jboss.com/jira/browse/JBESB-1696
Project: JBoss ESB
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Rosetta, Transports
Affects Versions: 4.2.1 CP2
Reporter: Jiri Pechanec
Assigned To: Kevin Conner
Fix For: 4.2.1 CP3
See org.jboss.soa.esb.helpers.Email.initMailServerSession, there are at least two
problems identified
a) Should JavaMail session use default instance?
b) The SMTP credential are also used as credentials to access to mail session. These
should be either configured separately or not used at all.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira