smtplib.SMTP throw : 'Socket error: 10053 software caused connection abort'

aberry aberry at aol.in
Wed Jan 21 04:51:09 EST 2009



aberry wrote:
> 
> I am using 'smtplib' module to send an email but getting exception...
> 
> smtplib.SMTP(<nailservernam> throw error :
> 
> here is trace back snippet :-
> 
> "   smtp = smtplib.SMTP(self.server)
>  File "D:\Python24\lib\smtplib.py", line 244, in __init__
>    (code, msg) = self.connect(host, port)
>  File "D:\Python24\lib\smtplib.py", line 306, in connect
>    raise socket.error, msg
> socket.error: (10053, 'Software caused connection abort')"
> 
> thanks in adv,
> aberry
> 
> 

problem resolved :) ... culprit was Anti Virus  running on my Win XP
machine...
I disabled AV On Access scan... no Error and email sent

rgds,
aberry
-- 
View this message in context: http://www.nabble.com/smtplib.SMTP-throw-%3A-%27Socket-error%3A-10053-software-caused-connection-abort%27-tp21565011p21579963.html
Sent from the Python - python-list mailing list archive at Nabble.com.




More information about the Python-list mailing list