aspose file tools*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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
Help me to run my first JavaMail app
Help me please, JavaMail
JavaMail and Gmail
Not able to run JavaMail class
working example for sending mail from behind the proxy