Chris, My mail.log looks like this.(tail mail.log). This is the log created just now as i send from my webapp.
Oct 4 20:51:07 venus sm-mta[17487]: l950p6C3017485: to=< [EMAIL PROTECTED]>, delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=120522, relay=gmail-smtp-in.l.google.com. [66.249.83.114], dsn=2.0.0, stat=Sent (OK 1191517641 h9si2242792wxd) It says that it is send . But still no mails.. On 10/4/07, Christopher Schultz <[EMAIL PROTECTED]> wrote: > > -----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: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Thanks Arun George