poplib Q

SuperHik junkytownMAKNI at gmail.com
Thu Jul 6 14:02:01 EDT 2006


Hi!

I want to connect to gmail but...
It requires SSL so I worte:

 >>> import poplib
 >>> server = poplib.POP3_SSL('pop.gmail.com',995)
Traceback (most recent call last):
   File "<interactive input>", line 1, in ?
   File "C:\Python24\lib\poplib.py", line 359, in __init__
     self.sslobj = socket.ssl(self.sock, self.keyfile, self.certfile)
AttributeError: 'module' object has no attribute 'ssl'
 >>>

what's with that?!
I found an old post to this group, and it connected the same way, only 
it worked.
(I use PythonWin 2.4.3 on WinXP)

tia!



More information about the Python-list mailing list