wood burning stoves 2.0*
The moose likes Other JSE/JEE APIs and the fly likes First Problem with JavaMail, help please Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "First Problem with JavaMail, help please" Watch "First Problem with JavaMail, help please" New topic
Author

First Problem with JavaMail, help please

Hussein Baghdadi
clojure forum advocate
Bartender

Joined: Nov 08, 2003
Posts: 3476

I have the following java class :

I want to send an email to johntodd@lycos.com
and I have connected to the internet.
but when running the program the follwoing exception is thrown :
MessagingException : could not connect to SMTP host mail.lycos.com
SocketException : Network is unreachable
so what is the problem (please JavaMail is a vital subject to me)???
I think there is something about proxy , right??
if so, please tell me what should I do ....
 
jQuery in Action, 2nd edition
 
subject: First Problem with JavaMail, help please
 
Similar Threads
Help me to run my first JavaMail app
JavaMail and Gmail
Help me please, JavaMail
working example for sending mail from behind the proxy
Not able to run JavaMail class