tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin van den Bemt" <mar...@isallineed.org>
Subject RE: UnknownHostException thrown from SmtpClient
Date Tue, 13 Nov 2001 21:21:23 GMT
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-----
> From: felix [mailto:felix@crucial-systems.com]
> Sent: Tuesday, November 13, 2001 10:14 PM
> To: Tomcat Users List
> Subject: UnknownHostException thrown from SmtpClient
>
>
>
>
> 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.
>
> i tried 127.0.0.1 and localhost and the named host (but not yet dns
> transferred).
>
> all the same exception.  the mailserver (exim) is not even being
> contacted.
>
> i'm thinking its tomcat or jvm not knowing a dns host yet ?
>
> clues anyone ?
>
> I found one person relating the same thing:
>
> they moved stuff from one tomcat(nt) to tomcat(linux) using the same smtp
> server and it no longer worked. couldn't find the server.
>
>
> thanks!
>
>
>
>
> --
> To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
> Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>
>
>


--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message