-
Notifications
You must be signed in to change notification settings - Fork 183
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MPP-3901: update disabled mask email content #5156
Merged
jwhitlock
merged 1 commit into
main
from
update-content-for-disabled-mask-email-mpp-3901
Oct 30, 2024
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,14 @@ | ||
{% load ftl %} | ||
{% load email_extras %} | ||
{% withftl bundle='privaterelay.ftl_bundles.main' language=language %} | ||
{% ftlmsg 'relay-deactivated-your-mask' %} | ||
{% ftlmsg 'relay-deactivated-mask-email-subject' %} | ||
|
||
{% ftlmsg 'relay-received-spam-complaint-and-deactivated-mask' mask=mask %} | ||
{% with mask|striptags|urlencode as mask_url %} | ||
{% ftlmsg 'reactivate-mask-detail' %} | ||
{% ftlmsg 'relay-remove-email-blocking' %} | ||
|
||
{{ SITE_ORIGIN }}/accounts/profile/#{{ mask_url }} | ||
{% endwith %} | ||
|
||
{% ftlmsg 'learn-about-blocking' learn_more_url='https://support.mozilla.org/kb/disable-email-forwarding-stop-receiving-emails-sent-through-masks' %} | ||
{% ftlmsg 'detailed-instructions-about-blocking' learn_more_url='https://support.mozilla.org/kb/disable-email-forwarding-stop-receiving-emails-sent-through-masks' %} | ||
{% endwithftl %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
Subject: =?utf-8?q?=E2=81=A8Firefox_Relay=E2=81=A9?= has deactivated one of | ||
your email masks. | ||
Subject: This mask has been deactivated | ||
From: [email protected] | ||
To: [email protected] | ||
MIME-Version: 1.0 | ||
|
@@ -13,20 +12,23 @@ Content-Transfer-Encoding: quoted-printable | |
|
||
|
||
|
||
=E2=81=A8Firefox Relay=E2=81=A9 has deactivated one of your email masks. | ||
This mask has been deactivated | ||
|
||
An email from your mask address, [email protected]=E2=81=A9, was ma= | ||
rked as spam. When this happens, =E2=81=A8Firefox Relay=E2=81=A9 deactivates = | ||
the mask and stops forwarding emails. | ||
the mask and blocks emails from forwarding to protect your inbox from future = | ||
spam. | ||
|
||
To remove email blocking: | ||
1. Go to your =E2=81=A8Relay=E2=81=A9 dashboard and find this email mask | ||
2. Remove email blocking by updating blocking from all to none | ||
|
||
To reactivate your mask, remove email blocking on your =E2=81=A8Firefox Relay= | ||
=E2=81=A9 dashboard. | ||
http://127.0.0.1:8000/accounts/profile/#w41fwbt4q%40test.com | ||
|
||
|
||
Learn about blocking and email forwarding at =E2=81=A8https://support.mozilla= | ||
.org/kb/disable-email-forwarding-stop-receiving-emails-sent-through-masks=E2= | ||
=81=A9 | ||
Detailed instructions to remove email blocking: =E2=81=A8https://support.mozi= | ||
lla.org/kb/disable-email-forwarding-stop-receiving-emails-sent-through-masks= | ||
=E2=81=A9 | ||
|
||
|
||
--==[BOUNDARY0]== | ||
|
@@ -208,6 +210,12 @@ lay.firefox.com/fonts/Inter/Inter-Medium.027d14e7d35b.woff2?v=3D3.18) format(= | |
} | ||
</style> | ||
|
||
<div style=3D"display:none !important; color: #ffffff; font-size: 0px; li= | ||
ne-height: 0; max-height: 0px; max-width: 0px; opacity: 0; overflow: hidden; = | ||
mso-hide: all;"> | ||
Remove email blocking to use your email mask | ||
</div> | ||
|
||
<!-- temporary header --> | ||
<table id=3D"relay-email-header" width=3D"100%" bgcolor=3D"#3D3D3D" style= | ||
=3D"background: #3D3D3D; padding: 12px; margin-bottom: 30px; margin-top: 30px= | ||
|
@@ -261,27 +269,31 @@ px; text-align: center;"> | |
s-serif;"> | ||
<img width=3D"18" src=3D"http://127.0.0.1:8000/static/ima= | ||
ges/email-images/warning.png" style=3D"margin: 0 5px;" alt=3D"warning icon"/> | ||
Reactivate your email mask | ||
This mask has been deactivated | ||
</h2> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td style=3D"max-width:850px; padding-top: 0px; padding-bottom: 0= | ||
px;"> | ||
<p style=3D"line-height: 1.5; margin-bottom: 1.5em"> | ||
An email from your mask address, [email protected], was = | ||
marked as spam. When this happens, Firefox Relay deactivates the mask and sto= | ||
ps forwarding emails. | ||
An email from your mask address, =E2=81=A8w41fwbt4q@test.= | ||
com=E2=81=A9, was marked as spam. When this happens, =E2=81=A8Firefox Relay= | ||
=E2=81=A9 deactivates the mask and blocks emails from forwarding to protect y= | ||
our inbox from future spam. | ||
</p> | ||
<p style=3D"line-height: 1.5; margin-bottom: 1.5em"> | ||
To reactivate your mask, <a href=3D"http://127.0.0.1:8000= | ||
/accounts/profile/#w41fwbt4q%40test.com">remove email blocking</a> on your Fi= | ||
refox Relay dashboard. | ||
To remove email blocking: | ||
<ol> | ||
<li><a href=3D"http://127.0.0.1:8000/accounts/profile/#w41fwbt4q%40test.com">= | ||
Go to your Relay dashboard</a> and find this email mask</li> | ||
<li>Remove email blocking by updating blocking from all to none</li> | ||
</ol> | ||
</p> | ||
<p style=3D"line-height: 1.5; margin-bottom: 1.5em"> | ||
<a href=3D"https://support.mozilla.org/kb/disable-email-f= | ||
orwarding-stop-receiving-emails-sent-through-masks">Learn about blocking and = | ||
email forwarding</a> | ||
orwarding-stop-receiving-emails-sent-through-masks">Detailed instructions to = | ||
remove email blocking</a> | ||
</p> | ||
</td> | ||
</tr> | ||
|
@@ -292,7 +304,7 @@ email forwarding</a> | |
test.com" | ||
target=3D"_blank" class=3D"button" style=3D"color: #FFFFFF;= | ||
" rel=3D"noreferrer"> | ||
Reactivate your email mask | ||
Remove email blocking | ||
</a> | ||
</td> | ||
</tr> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is the point of this section?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To implement "preheader text" as shown in the figma. I had to look it up too: https://www.activecampaign.com/blog/email-preheader