From 58550c76c933b797e0487192d98ded1d7d583cb4 Mon Sep 17 00:00:00 2001 From: Alex Lovell-Troy Date: Wed, 28 May 2014 20:50:48 -0600 Subject: [PATCH] Teaching people how to use the settings --- docs/topics/settings.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/topics/settings.rst b/docs/topics/settings.rst index 6023046..9f4dfe7 100644 --- a/docs/topics/settings.rst +++ b/docs/topics/settings.rst @@ -58,3 +58,10 @@ 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.