Using imaplib module with GMAIL's IMAP - hangs

gregpinero at gregpinero at
Thu Nov 8 19:41:25 CET 2007

I'm trying to get a list of messages from GMAIL using it's new IMAP

So far I've tried running this command but it just hangs.  Any ideas?

>>> import imaplib
>>> M=imaplib.IMAP4('',993)

I figured that's the first line to run from this example:

Here are the configuration settings GMAIL says to use:

Thanks for any help.


More information about the Python-list mailing list