From 3f8e5d0a8b1cb9969a806c160aaf08e6365b8b71 Mon Sep 17 00:00:00 2001 From: Son NK <> Date: Sun, 8 Nov 2020 22:39:49 +0100 Subject: [PATCH] add more logging --- app/email_utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/app/email_utils.py b/app/email_utils.py index 9010dfba..9a607ac6 100644 --- a/app/email_utils.py +++ b/app/email_utils.py @@ -218,6 +218,7 @@ def send_email( msg.attach(MIMEText(plaintext, "text")) if not html: + LOG.d("Use plaintext as html") html = plaintext.replace("\n", "
") msg.attach(MIMEText(html, "html"))