File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SMTP Connecting

 
S Hayes
Greenhorn
Posts: 6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Using the code below, I can't connect to any MX servers that I find with nsloookup -type=MX. I don't think the ports are blocked though, since I can use Thunderbird with my Gmail account. Any suggestions?
 
Van Glass
Ranch Hand
Posts: 110
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Gmail uses a secure SSL POP/SMTP connections that aren't blocked by ISP's. It may be that your ISP is only allowing you connections to it's own SMTP server and no others ... this is to prevent spam.

To verify try connecting manually to one of the MX hosts using telnet command:


e.g.

telnet hostname 25

If you get a response your ok. Otherwise your ISP is blocking you.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic