Re: sending smtp mail failure

2007-04-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 MT, Mighty Tornado wrote: > I have ZoneAlarm running, but normally Zone Alarm notifies me if a program > from within is trying to access the internet and let's me block it or > let it > go. Is it possible that ZA is blocking not my request to connect

Re: sending smtp mail failure

2007-04-19 Thread Mighty Tornado
I have ZoneAlarm running, but normally Zone Alarm notifies me if a program from within is trying to access the internet and let's me block it or let it go. Is it possible that ZA is blocking not my request to connect to the smtp server but the server's reply? On 4/19/07, Christopher Schultz <[EMA

Re: sending smtp mail failure

2007-04-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 MT, Mighty Tornado wrote: > It was churning for a long time and still didn't manage to send the email. > But it left me this exception: [snip] > Caused by: javax.mail.MessagingException: Could not connect to SMTP host: > smtp.gmail.com, port: 465, r

Re: sending smtp mail failure

2007-04-18 Thread Mighty Tornado
the user to see a report via the browser. enjoy - Original Message - From: "Mighty Tornado" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Tuesday, April 17, 2007 2:35 AM Subject: Re: sending smtp mail failure > Thanks for the input, > > I was ab

Re: sending smtp mail failure

2007-04-16 Thread Johnny Kewl
the error messages, and possibly allow the user to see a report via the browser. enjoy - Original Message - From: "Mighty Tornado" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Tuesday, April 17, 2007 2:35 AM Subject: Re: sending smtp mail failure Th

Re: sending smtp mail failure

2007-04-16 Thread Mighty Tornado
Multipart mp = new MimeMultipart(); > > mp.addBodyPart(mbp1); > > if (sFilename.length() > 0) mp.addBodyPart(mbp2); > > > > // ADD and SEND > > msg.setContent(mp); > > Transport.send(msg); > > > > > > Have fun > > &

Re: sending smtp mail failure

2007-04-16 Thread Len Popp
tent(mp); > Transport.send(msg); > > > Have fun > > - Original Message - > From: "Mighty Tornado" <[EMAIL PROTECTED]> > To: "Tomcat Users List" > Sent: Sunday, April 15, 2007 2:32 AM > Subject: Re: sending smtp mail fail

Re: sending smtp mail failure

2007-04-16 Thread Rashmi Rubdi
It looks like someone has solved this already: http://forum.java.sun.com/thread.jspa?forumID=43&threadID=667323 http://forum.java.sun.com/thread.jspa?forumID=43&threadID=5121116 -Rashmi - To start a new topic, e-mail: users@to

Re: sending smtp mail failure

2007-04-16 Thread Mighty Tornado
t(mp); Transport.send(msg); Have fun - Original Message - From: "Mighty Tornado" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Sunday, April 15, 2007 2:32 AM Subject: Re: sending smtp mail failure > Thanks for responding, > > there some

Re: sending smtp mail failure

2007-04-14 Thread Johnny Kewl
ghty Tornado" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Sunday, April 15, 2007 2:32 AM Subject: Re: sending smtp mail failure Thanks for responding, there something wrong with my code? This is my code: import java.util.*; import java.io.*;

Re: sending smtp mail failure

2007-04-14 Thread Mighty Tornado
"Mighty Tornado" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, April 06, 2007 7:30 AM Subject: sending smtp mail failure > Hi, > > I set up a small web app and the servlet is supposed to send an email > using > JavaMail. But I am getting exce

Re: sending smtp mail failure

2007-04-07 Thread Johnny Kewl
etInstance(properties,null); } catch(Exception e) { fSessionInited = false; } return fSessionInited; } - Original Message - From: "Mighty Tornado" <[EMAIL PROTECTED]> To: Sent: Friday, April 06, 2007 7:30 AM Subject: sending smtp mail

sending smtp mail failure

2007-04-05 Thread Mighty Tornado
Hi, I set up a small web app and the servlet is supposed to send an email using JavaMail. But I am getting exceptions - Connection Timed out every time. I am using Gmail as an smtp server to bounce emails off. How can I avoid the Connection Timed out exception? Could it be because of my firewall?