RE: UnknownHostException thrown from SmtpClient

2001-11-13 Thread Martin van den Bemt
Use JavaMail instead.. The SmtpClient (at least if that is the one in com.sun or sun.) is as far as I know not even supported.. Never had any problems with that, unless the jvm couldn't find a host in the first place, it tends to never find it again. Mvgr, Martin -Original Message-

Re: UnknownHostException thrown from SmtpClient

2001-11-13 Thread felix
btw. i can open a socket (port 25) directly via i.p. From: felix [EMAIL PROTECTED] Migrating some old code that uses the sun SmtpClient to a new server. the SmtpClient throws an UnknownHostException, I'm using the i.p. address of the mail server, which is actually on the same box.

Re: UnknownHostException thrown from SmtpClient

2001-11-13 Thread felix
[EMAIL PROTECTED] Subject: RE: UnknownHostException thrown from SmtpClient Use JavaMail instead.. The SmtpClient (at least if that is the one in com.sun or sun.) is as far as I know not even supported.. Never had any problems with that, unless the jvm couldn't find a host in the first place

RE: UnknownHostException thrown from SmtpClient

2001-11-13 Thread Martin van den Bemt
-Original Message- From: felix [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 13, 2001 10:43 PM To: Tomcat Users List Subject: Re: UnknownHostException thrown from SmtpClient Thanks, I think that's what needs to be done anyway. on a related topic, I've been trying to figure out

Re: UnknownHostException thrown from SmtpClient

2001-11-13 Thread Craig R. McClanahan
On Tue, 13 Nov 2001, felix wrote: Date: Tue, 13 Nov 2001 16:43:02 -0500 From: felix [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: UnknownHostException thrown from SmtpClient Thanks, I think that's what needs

Re: UnknownHostException thrown from SmtpClient

2001-11-13 Thread Kevin Barnes
- From: felix [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 13, 2001 10:43 PM To: Tomcat Users List Subject: Re: UnknownHostException thrown from SmtpClient Thanks, I think that's what needs to be done anyway. on a related topic, I've been trying to figure out

RE: UnknownHostException thrown from SmtpClient

2001-11-13 Thread Martin van den Bemt
See below.. On Tue, 13 Nov 2001, Martin van den Bemt wrote: Date: Tue, 13 Nov 2001 22:49:12 +0100 From: Martin van den Bemt [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: RE: UnknownHostException thrown from SmtpClient

Re: UnknownHostException thrown from SmtpClient

2001-11-13 Thread felix
Using JavaMail now (tedious download process, can't just wget ) and i get a more descriptive exception: javax.servlet.ServletException: Sending failed; nested exception is: javax.mail.MessagingException: 501 syntactically invalid HELO argument(s) So here is a good example for all

RE: UnknownHostException thrown from SmtpClient

2001-11-13 Thread Craig R. McClanahan
On Tue, 13 Nov 2001, Martin van den Bemt wrote: Date: Tue, 13 Nov 2001 22:49:12 +0100 From: Martin van den Bemt [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: RE: UnknownHostException thrown from SmtpClient I like

Re: UnknownHostException thrown from SmtpClient

2001-11-13 Thread felix
From: Craig R. McClanahan [EMAIL PROTECTED] on a related topic, I've been trying to figure out if JavaMail threads / forks when it sends. Besides the fact that it's probably an insignificant effect on response time (unless you're sending large numbers of messages on one request), that's

Re: UnknownHostException thrown from SmtpClient

2001-11-13 Thread Craig R. McClanahan
On Tue, 13 Nov 2001, felix wrote: [snip] i have exim (http://www.exim.org) installed (it came with our dedicated server). it appears to be more robust in terms of queuing, freezing, unfreezing, managing and retrying than classic sendmail. with xwindows you can open a manager to sort