Fixed an issue with broken archive link. Added plaintext versions for transactional messages
This commit is contained in:
parent
4584c85b4b
commit
06d5e0d9bf
11 changed files with 144 additions and 63 deletions
26
views/emails/confirm-html.hbs
Normal file
26
views/emails/confirm-html.hbs
Normal file
|
@ -0,0 +1,26 @@
|
|||
<!doctype html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>{{title}}: Please Confirm Subscription</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<h1>{{title}}</h1>
|
||||
|
||||
<h2>Please Confirm Subscription</h2>
|
||||
|
||||
<hr>
|
||||
|
||||
<p><a href="{{confirmUrl}}" class="btn-primary" itemprop="url" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; color: #FFF; text-decoration: none; line-height: 2em; font-weight: bold; text-align: center; cursor: pointer; display: inline-block; border-radius: 5px; text-transform: capitalize; background-color: #348eda; margin: 0; border-color: #348eda; border-style: solid; border-width: 10px 20px;">Yes, subscribe me to this list</a></p>
|
||||
|
||||
<p>If you received this email by mistake, simply delete it. You won't be subscribed if you don't click the confirmation link above.</p>
|
||||
|
||||
<p>For questions about this list, please contact:
|
||||
<br/>{{contactAddress}}</p>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
|
@ -1,18 +0,0 @@
|
|||
<h1>{{title}}</h1>
|
||||
|
||||
<h2>Please Confirm Subscription</h2>
|
||||
|
||||
<hr>
|
||||
|
||||
<p>
|
||||
<a href="{{confirmUrl}}" class="btn-primary" itemprop="url" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; color: #FFF; text-decoration: none; line-height: 2em; font-weight: bold; text-align: center; cursor: pointer; display: inline-block; border-radius: 5px; text-transform: capitalize; background-color: #348eda; margin: 0; border-color: #348eda; border-style: solid; border-width: 10px 20px;">Yes, subscribe me to this list</a>
|
||||
</p>
|
||||
<p>
|
||||
|
||||
If you received this email by mistake, simply delete it. You won't be subscribed if you don't click the confirmation link above.
|
||||
</p>
|
||||
<p>
|
||||
|
||||
For questions about this list, please contact:
|
||||
<br/>{{contactAddress}}
|
||||
</p>
|
10
views/emails/confirm-text.hbs
Normal file
10
views/emails/confirm-text.hbs
Normal file
|
@ -0,0 +1,10 @@
|
|||
{{{title}}}
|
||||
Please Confirm Subscription
|
||||
===========================
|
||||
|
||||
Yes, subscribe me to this list: {{{confirmUrl}}}
|
||||
|
||||
If you received this email by mistake, simply delete it. You won't be subscribed if you don't click the confirmation link above.
|
||||
|
||||
For questions about this list, please contact:
|
||||
{{{contactAddress}}}
|
23
views/emails/password-reset-html.hbs
Normal file
23
views/emails/password-reset-html.hbs
Normal file
|
@ -0,0 +1,23 @@
|
|||
<!doctype html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Change your password</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<h2>Change your password</h2>
|
||||
|
||||
<hr>
|
||||
|
||||
<p>We have received a password change request for your Mailtrain account ({{username}}).</p>
|
||||
|
||||
<p><a href="{{confirmUrl}}" class="btn-primary" itemprop="url" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; color: #FFF; text-decoration: none; line-height: 2em; font-weight: bold; text-align: center; cursor: pointer; display: inline-block; border-radius: 5px; text-transform: capitalize; background-color: #348eda; margin: 0; border-color: #348eda; border-style: solid; border-width: 10px 20px;">Reset password</a></p>
|
||||
|
||||
<p>If you did not ask to change your password, then you can ignore this email and your password will not be changed.</p>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
9
views/emails/password-reset-text.hbs
Normal file
9
views/emails/password-reset-text.hbs
Normal file
|
@ -0,0 +1,9 @@
|
|||
{{{title}}}
|
||||
Change your password
|
||||
====================
|
||||
|
||||
We have received a password change request for your Mailtrain account ({{{username}}}).
|
||||
|
||||
Reset password: {{{confirmUrl}}}
|
||||
|
||||
If you did not ask to change your password, then you can ignore this email and your password will not be changed.
|
|
@ -1,14 +0,0 @@
|
|||
<h2>Change your password</h2>
|
||||
|
||||
<hr>
|
||||
|
||||
<p>
|
||||
We have received a password change request for your Mailtrain account ({{username}}).
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<a href="{{confirmUrl}}" class="btn-primary" itemprop="url" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; color: #FFF; text-decoration: none; line-height: 2em; font-weight: bold; text-align: center; cursor: pointer; display: inline-block; border-radius: 5px; text-transform: capitalize; background-color: #348eda; margin: 0; border-color: #348eda; border-style: solid; border-width: 10px 20px;">Reset password</a>
|
||||
</p>
|
||||
<p>
|
||||
If you did not ask to change your password, then you can ignore this email and your password will not be changed.
|
||||
</p>
|
Loading…
Add table
Add a link
Reference in a new issue