From b6deccc2aab0324dc1c89cc53f0f687666721789 Mon Sep 17 00:00:00 2001 From: Thomas Oettli Date: Tue, 22 Oct 2019 20:49:00 +0200 Subject: [PATCH] Prefer text/html again, like most email clients --- pyquarantine/notifications.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyquarantine/notifications.py b/pyquarantine/notifications.py index 835eb9f..9744fcc 100644 --- a/pyquarantine/notifications.py +++ b/pyquarantine/notifications.py @@ -230,7 +230,7 @@ class EMailNotification(BaseNotification): return BeautifulSoup(text, "lxml") - def get_text_multipart(self, queueid, msg, preferred=_plain_text): + def get_text_multipart(self, queueid, msg, preferred=_html_text): "Get the mail text of a multipart email in html form." soup = None