Re: Sending Mail from a Java WebApplication does not work

2007-10-05 Thread Arun
This was my first mail to apache tomcat users. This is fantastic great. I express my hearty gratitude to you all guys. That is clear like water. Cool. I will ask my ISP to do this and forward this mail as well. I had not introduced myself. I am Arun George working as a lead developer @ mobchannel

Re: Sending Mail from a Java WebApplication does not work

2007-10-04 Thread Mark Deneen
I think that gmail is balking over the fact that "venus" does not resolve to 71.248.123.180, and the reverse record of 71.248.123.180 resolves to static-71-248-123-180.bltmmd.east.verizon.net instead of "venus". Here's what you want in DNS: A "MX" (Mail) record to be set to something like "mail.my

Re: Sending Mail from a Java WebApplication does not work

2007-10-04 Thread Arun
Delivered-To: [EMAIL PROTECTED] Received: by 10.70.74.8 with SMTP id w8cs511135wxa; Thu, 4 Oct 2007 10:07:22 -0700 (PDT) Received: by 10.70.14.17 with SMTP id 17mr3648293wxn.1191517641836; Thu, 04 Oct 2007 10:07:21 -0700 (PDT) Return-Path: <[EMAIL PROTECTED] > Received: from venus (

Re: Sending Mail from a Java WebApplication does not work

2007-10-04 Thread Arun
My from address for mail is say [EMAIL PROTECTED] But the webapp is now running on another server with a different domain , say anotherdomain , but my from address still has [EMAIL PROTECTED] Is this the reason. On 10/4/07, tomcat <[EMAIL PROTECTED]> wrote: > > At 01:30 PM 10/4/2007, you wrote: >

Re: Sending Mail from a Java WebApplication does not work

2007-10-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Arun, Arun wrote: > It contains a link for user verification and a welcome message. Did the > mail.log I mentioned points any hands to any problems? No, but the message itself including full headers (as seen by the recipient) should tell the story.

Re: Sending Mail from a Java WebApplication does not work

2007-10-04 Thread Arun
It contains a link for user verification and a welcome message. Did the mail.log I mentioned points any hands to any problems? On 10/4/07, David kerber <[EMAIL PROTECTED]> wrote: > > You're going to have to figure out what is triggering the spam blocker > on this message. Is the test message body

Re: Sending Mail from a Java WebApplication does not work

2007-10-04 Thread Johnny Kewl
- Original Message - From: "Arun" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Thursday, October 04, 2007 7:33 PM Subject: Re: Sending Mail from a Java WebApplication does not work Thanks johnny. I am grateful for the helping hand. Are you using r

Re: Sending Mail from a Java WebApplication does not work

2007-10-04 Thread Arun
Nope. It contains a link for user verification and a welcome message. On 10/4/07, Christopher Schultz <[EMAIL PROTECTED]> wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Aron, > > Arun wrote: > > Gabe, > > That is great. > > yes, It is sending mails to junk folder. > > Thanks a lot

Re: Sending Mail from a Java WebApplication does not work

2007-10-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Aron, 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? What about the contents of the message? Do they look sketchy? - -chris -BEG

Re: Sending Mail from a Java WebApplication does not work

2007-10-04 Thread David kerber
You're going to have to figure out what is triggering the spam blocker on this message. Is the test message body the same as the real data? If not, have you tried sending real (or at least real-looking) body content. D Arun wrote: Gabe, That is great. yes, It is sending mails to junk folde

Re: Sending Mail from a Java WebApplication does not work

2007-10-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Arun, Arun wrote: > 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 h

Re: Sending Mail from a Java WebApplication does not work

2007-10-04 Thread tomcat
At 01:30 PM 10/4/2007, you 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 fin

Re: Sending Mail from a Java WebApplication does not work

2007-10-04 Thread Joshua Fielek
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?

Re: Sending Mail from a Java WebApplication does not work

2007-10-04 Thread Ken Bowen
Sun's JavaMail (mail.jar -- you need activation.jar too) does a good job of simple mail sending (and it has lots of nice debugging for figuring out just how far things got). My app uses an AppListener which starts a single app-wide thread which manages a mail queue. Any request/action which ne

Re: Sending Mail from a Java WebApplication does not work

2007-10-04 Thread Arun
Thanks johnny. I am grateful for the helping hand. On 10/4/07, Johnny Kewl <[EMAIL PROTECTED]> wrote: > > > - Original Message - > From: "Arun" <[EMAIL PROTECTED]> > To: > Sent: Thursday, October 04, 2007 5:07 PM > Subject: Sending Mail from a J

Re: Sending Mail from a Java WebApplication does not work

2007-10-04 Thread Arun
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

Re: Sending Mail from a Java WebApplication does not work

2007-10-04 Thread Gabe Wong
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,

Re: Sending Mail from a Java WebApplication does not work

2007-10-04 Thread Arun
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]

Re: Sending Mail from a Java WebApplication does not work

2007-10-04 Thread Johnny Kewl
- Original Message - From: "Arun" <[EMAIL PROTECTED]> To: Sent: Thursday, October 04, 2007 5:07 PM Subject: Sending Mail from a Java WebApplication does not work Hi, I have configured sendmail at port 25 in ubuntu. It is working correctly as I checked sending ma

Re: Sending Mail from a Java WebApplication does not work

2007-10-04 Thread Christopher Schultz
-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),

Re: Sending Mail from a Java WebApplication does not work

2007-10-04 Thread Arun
Chris, I am using commons email and a class called SimpleEmail which is extended and used. I have set the host name and port number in the constructor of EmailMessenger (extends SimpleEmail) public EmailMessenger() { super(); setHostName(emailConfig.getHostName().trim()); s

Re: Sending Mail from a Java WebApplication does not work

2007-10-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Arun, Arun wrote: > I have configured sendmail at port 25 in ubuntu. It is working correctly as > I checked sending mails using a perl script as well as a javaprogram, but my > web application running in tomcat does not allow me to send a mail. It > s

Sending Mail from a Java WebApplication does not work

2007-10-04 Thread Arun
Hi, I have configured sendmail at port 25 in ubuntu. It is working correctly as I checked sending mails using a perl script as well as a javaprogram, but my web application running in tomcat does not allow me to send a mail. It simply does not give me any error at all. But it does not send the mai