mirror of
https://github.com/simple-login/app.git
synced 2024-10-04 23:51:29 +02:00
Not include original email in automatic disable alias email
This commit is contained in:
parent
87f6014990
commit
1575b6450c
@ -614,6 +614,7 @@ def handle_bounce(
|
|||||||
alias=alias,
|
alias=alias,
|
||||||
website_from=forward_email.website_from,
|
website_from=forward_email.website_from,
|
||||||
website_email=forward_email.website_email,
|
website_email=forward_email.website_email,
|
||||||
|
refused_email_url=refused_email_url,
|
||||||
),
|
),
|
||||||
render(
|
render(
|
||||||
"transactional/automatic-disable-alias.html",
|
"transactional/automatic-disable-alias.html",
|
||||||
@ -621,8 +622,10 @@ def handle_bounce(
|
|||||||
alias=alias,
|
alias=alias,
|
||||||
website_from=forward_email.website_from,
|
website_from=forward_email.website_from,
|
||||||
website_email=forward_email.website_email,
|
website_email=forward_email.website_email,
|
||||||
|
refused_email_url=refused_email_url,
|
||||||
),
|
),
|
||||||
bounced_email=msg,
|
# cannot include bounce email as it can contain spammy text
|
||||||
|
# bounced_email=msg,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
@ -5,8 +5,9 @@
|
|||||||
{{ render_text("There are at least 2 emails sent to your alias <b>" + alias + "</b> from <b>" + website_email +
|
{{ render_text("There are at least 2 emails sent to your alias <b>" + alias + "</b> from <b>" + website_email +
|
||||||
"</b> that have been <b>refused</b> (or bounced) by your email provider.") }}
|
"</b> that have been <b>refused</b> (or bounced) by your email provider.") }}
|
||||||
|
|
||||||
{{ render_text("This is usually due to the email being considered as <b>spam</b> by your email provider.
|
{{ render_text("This is usually due to the email being considered as <b>spam</b> by your email provider.") }}
|
||||||
The email is included at the end of this message so you can take a look at its content.") }}
|
|
||||||
|
{{ render_button("View the refused email", refused_email_url) }}
|
||||||
|
|
||||||
{{ render_text('As security measure, we have <b>disabled</b> the alias ' + alias) }}
|
{{ render_text('As security measure, we have <b>disabled</b> the alias ' + alias) }}
|
||||||
|
|
||||||
|
@ -3,7 +3,9 @@ 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}} 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.
|
This is usually due to the email being considered as spam by your email provider.
|
||||||
The email is included at the end of this message so you can take a look at its content.
|
You can view this email here:
|
||||||
|
{{ refused_email_url }}
|
||||||
|
|
||||||
|
|
||||||
As security measure, we have disabled the alias {{alias}}.
|
As security measure, we have disabled the alias {{alias}}.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user