Hi all,
I am using Jetty 7 with JBoss Seam and have 2 Java Mail Sessions configured, one for support notifications and another for general notifications.
The problem I am having appears to be from JBoss Seam / JSF not being able to resolve the session which I set in the Event Context to the proper Java Mail Session prior to sending the email.
Since it cannot resolve the session, it defaults to localhost on port 25. The strange thing is, I am using the same code to set the session as before, I am just getting it from JNDI now as opposed to a Seam component.
I am guessing that the problem is from getting the Session from JNDI and something isn't being proxied properly.
How do most places setup email notifications in a web application, do you often support more than 1, if so, what does your configuration look like?
Walter