update bounce warning email to avoid having sender address in the email subject

This commit is contained in:
Son 2022-04-18 09:30:29 +02:00
parent 6f7ab01487
commit 199ec09554
1 changed files with 1 additions and 1 deletions

View File

@ -1467,7 +1467,7 @@ def handle_bounce_forward_phase(msg: Message, email_log: EmailLog):
user, user,
ALERT_BOUNCE_EMAIL, ALERT_BOUNCE_EMAIL,
user.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( render(
"transactional/bounce/bounced-email.txt.jinja2", "transactional/bounce/bounced-email.txt.jinja2",
alias=alias, alias=alias,