mirror of
https://github.com/coddingtonbear/django-mailbox.git
synced 2026-07-09 22:38:19 +02:00
Merge remote-tracking branch 'alexlovelltroy/size_limiting' into issue_19
This commit is contained in:
commit
91da5d3203
4 changed files with 128 additions and 75 deletions
|
|
@ -58,3 +58,11 @@ Settings
|
|||
a message instance's ``get_email_object`` method being called. Value of
|
||||
this field is the primary key of the ``django_mailbox.MessageAttachment``
|
||||
instance currently storing this payload component's contents.
|
||||
|
||||
* ``DJANGO_MAILBOX_MAX_MESSAGE_SIZE``
|
||||
|
||||
* Default: ``False``
|
||||
* Type: ``integer``
|
||||
* If this is set, it will be read as a number of
|
||||
bytes. Any messages above that size will not be
|
||||
downloaded. ``2000000`` is 2 Megabytes.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue