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 Murach's Java Servlets and JSP this week in the Servlets 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 ....
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: First Problem with JavaMail, help please
 
Similar Threads
JavaMail and Gmail
Help me please, JavaMail
working example for sending mail from behind the proxy
Help me to run my first JavaMail app
Not able to run JavaMail class