keitaoouchi / easyimap

Simple imap wrapper.

Home Page:http://pypi.python.org/pypi/easyimap

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Check new emails Continuously

himanshusagar opened this issue · comments

Hi,
Is it possible to run a thread and check emails continuously and see if there's a new one ?
A naive way would be to run "easyimap.connect()" inside while loop and check if top of list is different from previous top.