Send welcome and unsubscribe confirmation emails
This commit is contained in:
parent
15ed41741e
commit
9e3b42e11c
12 changed files with 189 additions and 33 deletions
30
views/emails/subscription-confirmed-html.hbs
Normal file
30
views/emails/subscription-confirmed-html.hbs
Normal file
|
@ -0,0 +1,30 @@
|
|||
<!doctype html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>{{title}}: Subscription Confirmed</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<h1>{{title}}</h1>
|
||||
|
||||
<h2>Your subscription to our list has been confirmed.</h2>
|
||||
|
||||
<p>
|
||||
If you want to modify your subscription then you can:
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<a href="{{preferencesUrl}}">manage your preferences</a>
|
||||
<span style="color: #444444;"> or </span>
|
||||
<a href="{{unsubscribeUrl}}">unsubscribe here</a>
|
||||
</p>
|
||||
|
||||
<p>For questions about this list, please contact:
|
||||
<br/>{{contactAddress}}</p>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
16
views/emails/subscription-confirmed-text.hbs
Normal file
16
views/emails/subscription-confirmed-text.hbs
Normal file
|
@ -0,0 +1,16 @@
|
|||
{{{title}}}
|
||||
Subscription Confirmed
|
||||
======================
|
||||
|
||||
Your subscription to our list has been confirmed.
|
||||
|
||||
If you want to modify your subscription then you can:
|
||||
|
||||
manage your preferences: {{preferencesUrl}}
|
||||
|
||||
- or -
|
||||
|
||||
unsubscribe here: {{unsubscribeUrl}}
|
||||
|
||||
For questions about this list, please contact:
|
||||
{{{contactAddress}}}
|
26
views/emails/unsubscribe-confirmed-html.hbs
Normal file
26
views/emails/unsubscribe-confirmed-html.hbs
Normal file
|
@ -0,0 +1,26 @@
|
|||
<!doctype html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>{{title}}: You are now unsubscribed</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<h1>{{title}}</h1>
|
||||
|
||||
<h2>We have removed your email address from our list.</h2>
|
||||
|
||||
<p>
|
||||
If you unsubscribed by mistake, you can re-subscribe at:
|
||||
</p>
|
||||
|
||||
<p><a href="{{subscribeUrl}}" 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;">Subscribe</a></p>
|
||||
|
||||
<p>For questions about this list, please contact:
|
||||
<br/>{{contactAddress}}</p>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
12
views/emails/unsubscribe-confirmed-text.hbs
Normal file
12
views/emails/unsubscribe-confirmed-text.hbs
Normal file
|
@ -0,0 +1,12 @@
|
|||
{{{title}}}
|
||||
You are now unsubscribed
|
||||
========================
|
||||
|
||||
We have removed your email address from our list.
|
||||
|
||||
If you unsubscribed by mistake, you can re-subscribe at:
|
||||
|
||||
Subscribe: {{subscribeUrl}}
|
||||
|
||||
For questions about this list, please contact:
|
||||
{{{contactAddress}}}
|
|
@ -10,6 +10,6 @@
|
|||
</a>
|
||||
or
|
||||
<a class="btn btn-primary" href="{{preferences}}" role="button">
|
||||
<span class="glyphicon glyphicon-wrench" aria-hidden="true"></span> manage you preferences
|
||||
<span class="glyphicon glyphicon-wrench" aria-hidden="true"></span> manage your preferences
|
||||
</a>
|
||||
</p>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue