Set charset QP

From changeset f8aa1d8
#162699
This commit is contained in:
Raimon Esteve 2023-10-24 16:12:27 +02:00
parent f8aa1d8e18
commit 7df27a92ca
1 changed files with 1 additions and 1 deletions

View File

@ -233,7 +233,7 @@ class Template(ModelSQL, ModelView):
body = None
if html and plain:
body = MIMEMultipart('alternative')
charset.add_charset('utf-8')
charset.add_charset('utf-8', charset.QP, charset.QP)
if plain:
if body:
body.attach(MIMEText(plain, 'plain', _charset='utf-8'))