From 4b21f49f4905aec35110902b78822092c60dedbc Mon Sep 17 00:00:00 2001 From: Son NK Date: Sun, 15 Mar 2020 12:25:01 +0100 Subject: [PATCH] add mailbox email into notif email --- templates/emails/transactional/automatic-disable-alias.html | 6 +++--- templates/emails/transactional/automatic-disable-alias.txt | 2 +- templates/emails/transactional/bounced-email.html | 2 +- templates/emails/transactional/bounced-email.txt | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/templates/emails/transactional/automatic-disable-alias.html b/templates/emails/transactional/automatic-disable-alias.html index 87140c40..fa17c8b9 100644 --- a/templates/emails/transactional/automatic-disable-alias.html +++ b/templates/emails/transactional/automatic-disable-alias.html @@ -2,14 +2,14 @@ {% block content %} {{ render_text("Hi " + name) }} - {{ render_text("There are at least 2 emails sent to your alias " + alias + " from " + website_email + - " that have been refused (or bounced) by your email provider.") }} + {{ render_text("There are at least 2 emails sent to your alias " + alias + "" + " (mailbox "+ mailbox_email + ") from " + website_email + " that have been refused (or bounced) by your email provider.") }} + {{ render_text("This is usually due to the email being considered as spam by your email provider.") }} {{ render_button("View the refused email", refused_email_url) }} - {{ render_text('As security measure, we have disabled the alias ' + alias) }} + {{ render_text('As security measure, we have disabled the alias ' + alias + ".") }} {{ render_text('Please let us know if you have any question.') }} diff --git a/templates/emails/transactional/automatic-disable-alias.txt b/templates/emails/transactional/automatic-disable-alias.txt index 639da5c1..5d03a643 100644 --- a/templates/emails/transactional/automatic-disable-alias.txt +++ b/templates/emails/transactional/automatic-disable-alias.txt @@ -1,6 +1,6 @@ Hi {{name}} -There are at least 2 emails sent to your alias {{alias}} from {{website_from}} that have been refused (or bounced) by your email provider. +There are at least 2 emails sent to your alias {{alias}} (mailbox {{mailbox_email}}) from {{website_from}} that have been refused (or bounced) by your email provider. This is usually due to the email being considered as spam by your email provider. You can view this email here: diff --git a/templates/emails/transactional/bounced-email.html b/templates/emails/transactional/bounced-email.html index 2358289d..29829b06 100644 --- a/templates/emails/transactional/bounced-email.html +++ b/templates/emails/transactional/bounced-email.html @@ -2,7 +2,7 @@ {% block content %} {{ render_text("Hi " + name) }} - {{ render_text("An email sent to your alias " + alias + " from " + website_email + " was refused (or bounced) by your email provider.") }} + {{ render_text("An email sent to your alias " + alias + "" + " (mailbox "+ mailbox_email + ") from " + website_email + " was refused (or bounced) by your email provider.") }} {{ render_text('This is usually due to the email being considered as spam by your email provider.') }} diff --git a/templates/emails/transactional/bounced-email.txt b/templates/emails/transactional/bounced-email.txt index 8b8bcb8f..e8625b3e 100644 --- a/templates/emails/transactional/bounced-email.txt +++ b/templates/emails/transactional/bounced-email.txt @@ -1,6 +1,6 @@ Hi {{name}} -An email sent to your alias {{alias}} from {{website_from}} was refused (or bounced) by your email provider. +An email sent to your alias {{alias}} (mailbox {{mailbox_email}}) from {{website_from}} was refused (or bounced) by your email provider. This is usually due to the email being considered as spam by your email provider. You can view this email here: