From 4031fa6c9b7717cbc1770d4233ab0fcd859baf96 Mon Sep 17 00:00:00 2001 From: Mathieu Agopian Date: Wed, 20 Mar 2013 09:42:43 +0100 Subject: [PATCH] doc update (bis) --- docs/source/index.rst | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/source/index.rst b/docs/source/index.rst index 158a36e..b3aac47 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -67,9 +67,8 @@ You also need to provide the username and password. Here's an simple example: # check the unprocessed messages and trigger the callback mailbot.process_messages() - -Once that's done, you may register the callbacks and rules that will be tested -on each mail received when calling ``mailbot.process_messages``. +You may want to place the ``process_messages`` in a loop, a celery task, or in +a cron job, tu regularly check new messages and process them. Registering callbacks