poplib Q
Paul McGuire
ptmcg at austin.rr._bogus_.com
Thu Jul 6 14:12:09 EDT 2006
"SuperHik" <junkytownMAKNI at gmail.com> wrote in message
news:e8jj6q$bhg$1 at ss408.t-com.hr...
> 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!
See if you have a socket.py file in your PYTHONPATH or local directory.
-- Paul
More information about the Python-list
mailing list