RE: Tomcat 6.0.24 java emailing configuration problem

2012-03-26 Thread Huanyuan Sheng
: Tomcat Users List Subject: Re: Tomcat 6.0.24 java emailing configuration problem On 25 Mar 2012, at 04:03, Huanyuan Sheng wrote: > When I run the application the server gives the following error: > > javax.mail.Session cannot be cast to javax.mail.Session. > > No email is sent.

Tomcat 6.0.24 java emailing configuration problem

2012-03-24 Thread Huanyuan Sheng
I am trying to configure javax.mail for our application running under Servlet Engine: 2.5 JSP Engine: 2.1 Application Server: Apache Tomcat/6.0.24 But emailing never works. The smtp server is up and running on the server. We can send email via the command line from localhost. Please h