doc update (bis)

This commit is contained in:
Mathieu Agopian
2013-03-20 09:42:43 +01:00
parent abd169c95f
commit 4031fa6c9b

View File

@@ -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 # check the unprocessed messages and trigger the callback
mailbot.process_messages() mailbot.process_messages()
You may want to place the ``process_messages`` in a loop, a celery task, or in
Once that's done, you may register the callbacks and rules that will be tested a cron job, tu regularly check new messages and process them.
on each mail received when calling ``mailbot.process_messages``.
Registering callbacks Registering callbacks