: 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.
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.
This is usually indicative of a classpath error - meaning that you
have the class specified in tw
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