Hi Christian, everyone,

On Tue, 26 Oct 1999, Christian Kruggel wrote:

> Hi Juergen!
> 
> A few days ago you answered my question concerning javaīs
> mailto-protocol and the exception produced by the appended source:
> 
> java.net.UnknownHostException: mailhost
> 
>    Juergen> Sounds like a setup problem. Can you ping mailhost?
> 
> No. Another nice GUY suggested to mention the localhost as
> mailhost in /etc/hosts. Appending the line "127.0.0.1 mailhost"
> I was able to ping the mailhost. But that seems just to shift
> the problem. Executing the program now leads to a
> ConnectionRefused-Exception ...

Er, you're supposed to replace "mailhost" with the name of your actual
SMTP server.  You shouldn't be messing around with /etc/hosts.

You can get your SMTP server from your browser settings or email client
settings.

. . . Sean.



----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to