[Python-de] Win-socket problem: smtplib.SMTP()

Josef Cihal josef.cihal at irm.at
Mon Sep 30 19:20:12 EDT 2002


Wie kann ich Problem mit win-sockets in Python umgehen?

DAnke für jede Idee.
cihal


>>> s=smtplib.SMTP('smtp.mujoskar.cz')
Traceback (innermost last):
  File "<stdin>", line 1, in ?
  File "D:\Programme\Python\Lib\smtplib.py", line 182, in __init__
    (code, msg) = self.connect(host, port)
  File "D:\Programme\Python\Lib\smtplib.py", line 216, in connect
    self.sock.connect(host, port)
  File "<string>", line 1, in connect
socket.error: (10060, 'winsock error')





More information about the Python-de mailing list