From 199ec09554e2a15d11258ad5cc426b1c7ae2481c Mon Sep 17 00:00:00 2001 From: Son Date: Mon, 18 Apr 2022 09:30:29 +0200 Subject: [PATCH] update bounce warning email to avoid having sender address in the email subject --- email_handler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/email_handler.py b/email_handler.py index 8a6cbe8c..8a8ea7c8 100644 --- a/email_handler.py +++ b/email_handler.py @@ -1467,7 +1467,7 @@ def handle_bounce_forward_phase(msg: Message, email_log: EmailLog): user, ALERT_BOUNCE_EMAIL, user.email, - f"Email from {contact.website_email} to {alias.email} cannot be delivered to your mailbox", + f"An email sent to {alias.email} cannot be delivered to your mailbox", render( "transactional/bounce/bounced-email.txt.jinja2", alias=alias,