well, to be nerdy..... import telnetlib tn = telnetlib.Telnet(hostname, 25, 10)
or (even better ?!).... import socket s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s.settimeout(2) try: s.connect((host, 25)) print 'i can reach it' except: print "can't reach it" On Wednesday, November 12, 2014 9:26:52 PM UTC+1, Leonel Câmara wrote: > > Well it would be easier to test stuff if you had telnet yes. You just need > the telnet client so it's not much of a security risk. If you have an > admin, however, you can just ask him to do his job and tell you what are > the correct settings for your app to be able to send emails since these > don't work. > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.