View Single Post
Old Dec 8th, 2005, 2:33 PM   #5
Klipt
Hobbyist Programmer
 
Join Date: Dec 2005
Posts: 118
Rep Power: 0 Klipt is an unknown quantity at this point
Their example doesn't work on the machine I'm on at the moment - it's WinXP, could it be due to security settings?

Quote:
>>> server = smtplib.SMTP('localhost')
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "C:\Python24\lib\smtplib.py", line 241, in __init__
(code, msg) = self.connect(host, port)
File "C:\Python24\lib\smtplib.py", line 303, in connect
raise socket.error, msg
socket.error: (10061, 'Connection refused')
Klipt is offline   Reply With Quote