python create mail
anyab5 at gmail.com
anyab5 at gmail.com
Thu Jan 12 07:28:44 EST 2006
hey I need help in sending email,
It seems that while using this set of commands
from smtplib import SMTP
s = SMTP()
s.set_debuglevel(1)
s.connect('outmail.huji.ac.il')
I should be able to get a connection but what I get is this error
T:\Anya\work>mail1.py
connect: ('outmail.huji.ac.il', 25)
connect: ('outmail.huji.ac.il', 25)
connect fail: ('outmail.huji.ac.il', 25)
Traceback (most recent call last):
File "C:\Python24\lib\smtplib.py", line 303, in connect
raise socket.error, msg
socket.error: (10053, 'Software caused connection abort')
Does any one have a clue ?
More information about the Python-list
mailing list