smtplib.SMTP "no attributes SMTP"

Copelandia Cyanescens synesthesia at invalid.net
Sat Jul 31 13:32:59 EDT 2004


Python Python 2.3.4, Windows, "clean" install, using the example code
given in the documentation, I get this...

Traceback (most recent call last):
  File "C:\projects\email\email.py", line 24, in ?
    server = smtplib.SMTP('mail.xxxxx.xxx')
AttributeError: 'module' object has no attribute 'SMTP'

I beg to differ, it most certainly does. Right? :)

TIA

-- 
"I spent several years in a North Vietnamese prison camp, in the
dark, fed with scraps. Do you think I want to do that all over
again as vice president of the United States?"

                                             -- Sen. John McCain




More information about the Python-list mailing list