@
clino 哥们 没用 报错
Traceback (most recent call last):
File "
haha.py", line 2, in <module>
server = smtplib.SMTP('localhost')
File "/home/users/wuzengxiong/.jumbo/lib/python2.7/
smtplib.py", line 249, in __init__
(code, msg) = self.connect(host, port)
File "/home/users/wuzengxiong/.jumbo/lib/python2.7/
smtplib.py", line 309, in connect
self.sock = self._get_socket(host, port, self.timeout)
File "/home/users/wuzengxiong/.jumbo/lib/python2.7/
smtplib.py", line 284, in _get_socket
return socket.create_connection((port, host), timeout)
File "/home/users/wuzengxiong/.jumbo/lib/python2.7/
socket.py", line 571, in create_connection
raise err
socket.error: [Errno 111] Connection refused