1
0
Fork 1
mirror of https://github.com/coddingtonbear/django-mailbox.git synced 2026-07-10 06:48:19 +02:00

Added explicit getmail command arguments to parse one or more mailbox names and added maximum email read count

This commit is contained in:
MSI Shafik 2023-05-18 10:24:43 +06:00
parent 462fdd3e49
commit 221585a254
3 changed files with 19 additions and 10 deletions

View file

@ -20,11 +20,11 @@ Using a cron job
----------------
You can easily consume incoming mail by running the management command named
``getmail`` (optionally with an argument of the name of the mailbox you'd like
to get the mail for).::
``getmail`` (optionally with an argument of the name(s) of the mailbox(es) you'd like
to get the mail for. You can also pass maximum number of email count to read).::
python manage.py getmail
python manage.py getmail --mailboxes mailbox1 mailbox2 --max_read 10
.. _receiving-mail-from-exim4-or-postfix: