tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Sending Mail from a Java WebApplication does not work
Date Thu, 04 Oct 2007 16:16:42 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Arun,

Arun wrote:
> I am using commons email and a class called SimpleEmail which is extended
> and used.

Then there is no Tomcat configuration to be changed. If you were getting
permission errors (for instance, from running under a SecurityManager),
then you'd be getting exceptions all over the place.

> Here host name is localhost and portnumber is 25.

All I can suggest is adding more logging statements to convince yourself
that the code is actually running.

Make sure you check /all/ log files (if they exist): catalina.out,
localhost*.log|out yourapp_log_[date].txt, log4j.log etc. Also don't
forget to check the log file for sendmail (usually /var/log/mail).

- -chris

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHBRHq9CaO5/Lv0PARAlY2AKCuP2kJgQeKex3CFIIQHOrmEpiONgCeJhvP
HnmSz/Mc0a08gXL9d2CvP1g=
=zMxz
-----END PGP SIGNATURE-----

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


Mime
View raw message