Paul McGuire wrote:
> "SuperHik" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
>> 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

I did ofc, but I noticed something strange...
*my* socket module really doesn't have SSL object,
even tho it's listed in the documentation...
(not the online docs, but docs that came with my Python version)
ffs how can that be!

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to