Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

First Problem with JavaMail, help please  RSS feed

Hussein Baghdadi
clojure forum advocate
Posts: 3479
Clojure Mac Objective C
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have the following java class :

I want to send an email to
and I have connected to the internet.
but when running the program the follwoing exception is thrown :
MessagingException : could not connect to SMTP host
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 ....
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!