Fixed an issue with broken archive link. Added plaintext versions for transactional messages

This commit is contained in:
Andris Reinman 2016-04-08 15:00:54 +03:00
parent 4584c85b4b
commit 06d5e0d9bf
11 changed files with 144 additions and 63 deletions

View 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>

View file

@ -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>

View 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}}}

View 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>

View 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.

View file

@ -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>