aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--newspipe/notifications/emails.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/newspipe/notifications/emails.py b/newspipe/notifications/emails.py
index 805bb4ff..296e793d 100644
--- a/newspipe/notifications/emails.py
+++ b/newspipe/notifications/emails.py
@@ -85,6 +85,6 @@ def send_smtp(to="", subject="", plaintext="", html=""):
s.sendmail(
application.config["MAIL_DEFAULT_SENDER"],
msg["To"],
- msg.as_string(),
+ msg.as_bytes().decode(encoding='UTF-8'),
)
s.quit()
bgstack15