IMAP4_SSL error

  • Thread starter Russell Stewart
  • Start date
R

Russell Stewart

I'm trying to log into a secure IMAP4 server using imaplib,
and I'm getting a strange error. If I do the following (name
of mail server x'ed out in example):

I get:
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "C:\Python24\lib\imaplib.py", line 1101, in __init__
IMAP4.__init__(self, host, port)
File "C:\Python24\lib\imaplib.py", line 160, in __init__
self.open(host, port)
File "C:\Python24\lib\imaplib.py", line 1114, in open
self.sslobj = socket.ssl(self.sock, self.keyfile, self.certfile)
AttributeError: 'module' object has no attribute 'ssl'

Any ideas? I'm running Active State Python 2.4 in WinXP
SP2.

--
Russell Stewart | E-Mail: (e-mail address removed)
UNM CS Department | WWW: http://www.russell-stewart.net

"The great thing about standards in the computer
industry is that there are so many to choose from"
--Spotted on Slashdot
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top