1
0
Fork 1
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:
Adam Dobrawy 2017-07-09 20:36:37 +02:00
parent ecec57a78c
commit aa9f230558
4 changed files with 100 additions and 10 deletions

View file

@ -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',