[Tutor] smtp connection problem --- socket error 10061

Jack (Geliang) Song gsong at nd.edu
Fri Sep 10 19:04:26 CEST 2010

  I could not connect with gmail smtp server in Vista 32( worked ok in 
XP 32). Both vista and xp have same anti-virus software.

 >>> smtplib.SMTP("smtp.gmail.com",587)

Traceback (most recent call last):
   File "<pyshell#1>", line 1, in <module>
   File "C:\Program Files\Python25\lib\smtplib.py", line 244, in __init__
     (code, msg) = self.connect(host, port)
   File "C:\Program Files\Python25\lib\smtplib.py", line 310, in connect
     raise socket.error, msg
error: (10061, 'Connection refused')

I am using IPV4 for my vista wireless connection. No improvement with 
firewall disabled.

Any one has this problem? any solution?

Thanks a lot.


More information about the Tutor mailing list