$ python
Python 2.7.15 |Anaconda, Inc.|
>>> import smtplib
>>> smtplib.SMTP('mail.stifix.com', 25)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/sugizo/miniconda3/envs/python2_prod/lib/python2.7/smtplib.py"
, line 256, in __init__
(code, msg) = self.connect(host, port)
File "/Users/sugizo/miniconda3/envs/python2_prod/lib/python2.7/smtplib.py"
, line 317, in connect
self.sock = self._get_socket(host, port, self.timeout)
File "/Users/sugizo/miniconda3/envs/python2_prod/lib/python2.7/smtplib.py"
, line 292, in _get_socket
return socket.create_connection((host, port), timeout)
File "/Users/sugizo/miniconda3/envs/python2_prod/lib/python2.7/socket.py",
line 575, in create_connection
raise err
socket.error: [Errno 65] No route to host
>>> smtplib.SMTP('mail.stifix.com', 465)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/sugizo/miniconda3/envs/python2_prod/lib/python2.7/smtplib.py"
, line 256, in __init__
(code, msg) = self.connect(host, port)
File "/Users/sugizo/miniconda3/envs/python2_prod/lib/python2.7/smtplib.py"
, line 317, in connect
self.sock = self._get_socket(host, port, self.timeout)
File "/Users/sugizo/miniconda3/envs/python2_prod/lib/python2.7/smtplib.py"
, line 292, in _get_socket
return socket.create_connection((host, port), timeout)
File "/Users/sugizo/miniconda3/envs/python2_prod/lib/python2.7/socket.py",
line 575, in create_connection
raise err
socket.error: [Errno 65] No route to host
same error, like on web2py console. the respond took longer than access
gmail.com, with domain name it took around 3-5 minutes. (same respond time
both in web2py console and in python console)
perhaps related with the timeout, match with the error above, not sure
(just guess)
best regards,
stifan
--
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 [email protected].
For more options, visit https://groups.google.com/d/optout.