Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Handling IMAP IDLE command with plain old Python.
Python
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
src
LICENSE
README.md
setup.py

README.md

IMAP IDLE

Handling IDLE connection with Python, without thread or strange things.

It's a monkey patch, all other code came from python imaplib.

Status

Early POC.

Example

from imapidle import imaplib

m = imaplib.IMAP4_SSL('imap.gmail.com')
m.login('robert', 'pa55w0rd')
m.select()
for uid, msg in m.idle():
    print msg

Licence

MIT © Mathieu Lecarme 2012

Something went wrong with that request. Please try again.