A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Spring in Action
this week in the
Java in General
Unknown host exception
Joined: Sep 15, 2005
Oct 15, 2005 01:09:00
I am trying to send email from my application .But the exception occurs
: Sending failed;
nested exception is:
: Unknown SMTP host:
What could be wrong here.Any suggestions?
BTW if i send mail from another system using the same application,it works!!!
Joined: Mar 22, 2005
Oct 15, 2005 04:00:00
What do you specify as the SMTP host? It looks like it is not recognized or even empty.
Ping & DNS
- my free Android networking tools app
Joined: Oct 05, 2005
Oct 15, 2005 04:03:00
i) Check if you have the required jar files ( mailer.jar, activation.jar, ...) in your class path.
ii) Disable any antivirus program running while trying to send mails. The antivirus may be scanning the ports and block it.
I agree. Here's the link:
subject: Unknown host exception
Sending a mail
Problem in sending message to MQ
Problem with Testing my RMI BusinessLogic with more than 200 Threads
JavaMail Problem Help Please
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014