• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

unknownhost Exception

 
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Sheriff
Posts: 28333
97
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
I need a new interior decorator. This tiny ad just painted every room in my house purple.
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic