I've written this step by step recipe, tested with my tomcat 5.5. You could follow up these instructions and mail sending should work.

http://haveacafe.wordpress.com/2008/09/26/113/

Otherwise, can you post your context.xml ?

Btw, according SUN's informations, activation.jar is part of the jdk 6, so if you have a recent java version, you don't need it anymore (tomcat doc should be updated).

javax.mail.NoSuchProviderException: smtp
        at javax.mail.Session.getService(Session.java:760)

It doesn't sound like having double library.
Are you sure your smtp mail server is correctly configured ? (test it whith a commadline using sendmail or whatever).


--
Albrecht ANDRZEJEWSKI
Créateur - Incubateur Technologique
SITE-EERIE - Parc scientifique G. Besse
***
http://haveacafe.wordpress.com/

----------------------------------------------------
Ce message a ete envoye par le serveur IMP de l'EMA.



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to