M
Miki Tebeka
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\Python23\lib\smtplib.py", line 240, in __init__
(code, msg) = self.connect(host, port)
File "C:\apps\Python23\lib\smtplib.py", line 302, in connect
raise socket.error, msg
socket.error: (10053, 'Software caused connection abort')
Any ideas?
Thanks.
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\Python23\lib\smtplib.py", line 240, in __init__
(code, msg) = self.connect(host, port)
File "C:\apps\Python23\lib\smtplib.py", line 302, in connect
raise socket.error, msg
socket.error: (10053, 'Software caused connection abort')
Any ideas?
Thanks.