This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
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 Head First Android 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: 3479

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 ....
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: First Problem with JavaMail, help please
 
jQuery in Action, 3rd edition