We just went through this -- make sure you're not sending the mail from an IP address. gmail red flags anything sent from an ip address.

J

Arun wrote:
Gabe,
That is great.
yes, It is sending mails to junk folder.
Thanks a lot lol.
How can I avoid it ? why does gmail treats this mail as spam?

We were palnning to move our application to a new server.
I had written a build script using perl. Every thing went fine and build was
successfull.
We were trying to test it for user registration and no mails for ever. My PM
will eat my head if it moves to junk folder. HELP!!!!!




On 10/4/07, Gabe Wong <[EMAIL PROTECTED]> wrote:
Arun,
Have you checked your gmail junk folder?

Arun wrote:
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]






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





--
Joshua J. Fielek
Sr. Software Engineer
Centric CRM
223 East City Hall Ave., Suite 212
Norfolk, VA 23510
Phone  : (757) 627-3002x6656
Mobile : (757) 754-4462
Fax    : (757) 627-8773
Email  : [EMAIL PROTECTED]
http://www.centriccrm.com


---------------------------------------------------------------------
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