Hello All,
I can't connect to our Excahnge server using smtplib from a WinXP box.
Connection to the same server from a Linux box works.
The code:
from smtplib import SMTP
s = SMTP("our-mail-server")
Works fine on Linux but gives the following error in WinXP:
raceback (most recent call last):
File "C:\cygwin\tmp\ smtpchk", line 5, in ?
s = SMTP("our-mail-server")
File "C:\apps\Python 23\lib\smtplib. py", line 240, in __init__
(code, msg) = self.connect(ho st, port)
File "C:\apps\Python 23\lib\smtplib. py", line 302, in connect
raise socket.error, msg
socket.error: (10053, 'Software caused connection abort')
Any ideas?
Thanks.
--
------------------------------------------------------------------------
Miki Tebeka <mi*********@zo ran.com>
http://tebeka.spymac.net
The only difference between children and adults is the price of the toys