1
0
Fork 0

Merge remote-tracking branch 'alexlovelltroy/size_limiting' into issue_19

This commit is contained in:
Adam Coddington 2014-05-30 16:31:13 -07:00
commit 91da5d3203
4 changed files with 128 additions and 75 deletions

View file

@ -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.