Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

unknownhost Exception  RSS feed

 
Adewale Adebusoye
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello, i'm trying to write an email client, and when i try to connect to a server by means of pop, to check the inbox, i keep getting athe following exception:
javax.mail.MessagingException: Connect failed;
nested exception is:
java.net.UnknownHostException: pop.unlimitedmail.org

at com.sun.mail.pop3.POP3Store.protocolConnect(POP3Store.java:106)

at javax.mail.Service.connect(Service.java:234)

at javax.mail.Service.connect(Service.java:135)

and im using an smtp server called unlimited mail and the host name i used is "pop.unlimitedmail.org". and i have an account with these people.
So can anyone please help me out?
 
Paul Clapham
Sheriff
Posts: 22374
42
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Either that's the wrong name for the server, or you can't get to that server from your computer. If you are sure it is the right name, then type

PING pop.unlimitedmail.org

at a command line, and see if you get similar errors there. Networking questions like this one are best handled by somebody who knows how your network is configured. This could be a DNS problem, or there could be a firewall or proxy server blocking the route, or several other things.
 
Adewale Adebusoye
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yeah i pinged their server and the request timed out. so what do you advise one to do? look for another smtp server?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!