mirror of
https://github.com/coddingtonbear/django-mailbox.git
synced 2026-07-09 22:38:19 +02:00
Add support to compression of original messages
This commit is contained in:
parent
ecec57a78c
commit
aa9f230558
4 changed files with 100 additions and 10 deletions
|
|
@ -54,6 +54,16 @@ def get_settings():
|
|||
'DJANGO_MAILBOX_STORE_ORIGINAL_MESSAGE',
|
||||
False
|
||||
),
|
||||
'compress_original_message': getattr(
|
||||
settings,
|
||||
'DJANGO_MAILBOX_COMPRESS_ORIGINAL_MESSAGE',
|
||||
False
|
||||
),
|
||||
'original_message_compression': getattr(
|
||||
settings,
|
||||
'DJANGO_MAILBOX_ORIGINAL_MESSAGE_COMPRESSION',
|
||||
6
|
||||
),
|
||||
'default_charset': getattr(
|
||||
settings,
|
||||
'DJANGO_MAILBOX_default_charset',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue