Improve readability of logged email messages
issue3542 review8751002
This commit is contained in:
1 parent
c11b1f44ef
commit
eb2eab9525
1 file changed
+4
@@ -2,6 +2,7 @@
|
||||
#this repository contains the full copyright notices and license terms.
|
||||
import os
|
||||
import time
|
||||
from email import Charset
|
||||
|
||||
from . import server
|
||||
|
||||
@@ -10,3 +11,6 @@ __all__ = ['server']
|
||||
os.environ['TZ'] = 'UTC'
|
||||
if hasattr(time, 'tzset'):
|
||||
time.tzset()
|
||||
|
||||
# set email encoding for utf-8 to 'quoted-printable'
|
||||
Charset.add_charset('utf-8', Charset.QP, Charset.QP)
|
||||
Reference in new issue
Block a user