---------- Forwarded message ---------- From: Olen <[EMAIL PROTECTED]> Date: Jan 8, 2007 1:44 AM Subject: Re: [Tutor] smtplib starttls() error To: tutor@python.org
I have also looked in all the documentation python 2.4.3 files I downloaded and this points out that I should have install the socket.ssl() my question is that is how do I install the socket.ssl() thank you ennma On 1/8/07, olen88 <[EMAIL PROTECTED]> wrote: > Hello, > I was wondering if anyone could point me in the right direction > my system info: > Python 2.4.3 (#69, Apr 11 2006, 15:32:42) [MSC v.1310 32 bit (Intel)] on > win32 > > as the subject says. starttls() returns the following error, > > reply, null = session.starttls(); > File "C:\Python24\lib\smtplib.py", line 601, in starttls > sslobj = socket.ssl(self.sock, keyfile, certfile) > AttributeError: 'module' object has no attribute 'ssl' > > I tried, > > import socket > > socket.ssl(); > > same AttributeError exception was raised, so this confirmed that > socket.py has no ssl attribute. > > what can I do about this, some answers I digged up suggest > > http://mail.python.org/pipermail/python-list/2003-June/207802.html > > but I am hasty about this suggestion, and wishes to consult to you all > about what to do. > > Thank you > > ennma > > _______________________________________________ > Tutor maillist - Tutor@python.org > http://mail.python.org/mailman/listinfo/tutor > _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor