Morning.  I've been running into an error message pertaining to SSL
that I don't understand, and I was hoping someone had some insight.
Gmail provides POP access over SSL on port 587, so I tried to use
poplib.POP_SSL, with the following results:

Python 2.4.1 (#1, May 16 2005, 15:19:29) 
[GCC 4.0.0 20050512 (Red Hat 4.0.0-5)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from poplib import POP3_SSL
>>> pop= POP3_SSL('', 587)
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/usr/lib/python2.4/", line 359, in __init__
    self.sslobj = socket.ssl(self.sock, self.keyfile, self.certfile)
  File "/usr/lib/python2.4/", line 74, in ssl
    return _realssl(sock, keyfile, certfile)
socket.sslerror: (1, 'error:140770FC:SSL 
routines:SSL23_GET_SERVER_HELLO:unknown protocol')

Any suggestions or insight?

Reply via email to