Email Template

With the Email Template you can style all your email traffic with a nice custom HTML template

Documentation versions

Installation

Prerequisites

Make sure your system meets the minimum requirements:

Installation Instructions**

  1. Upload ee2/system/third_party/email_template to system/expressionengine/third_party/
  2. Install the module in Add-Ons → Modules

License field

This module is using a license field to check if the license for the module is valid or not. On addons.reinos.nl you can check your license and add your valid domains.

Control panel overview

In the Module CP you can enter then your license Control panel overview

When you enter a wrong license, the module will not work and it shows you an warning Control panel overview

On a local environment, like *.dev *.local *.localhost *.test the license will be valid for the testing and building new sites.

How it works

The Email template module is intend to style all your emails that comes from EE. But to fully understand the way of going underground and where there could be a possible error you see below what the module do step by step

Settings

On the settings page of the module you can add your html template.

Settings Description
Force HTML Force every email to HTML
NL2BR Add new line to break (nl2br) on all emails
Log enable Enable email logging
CRLF Set the CRLF (line ending)
Reply To Set a new default Reply To
BCC Extend the BCC list
Template This is the actual template. Just paste your html code here and place {body} and {subject} variable here

Variables

The Email Template module has a couple of special variables to use.

Tag Variable

Below are the Tag Variables. Those Variables can be used in the tag described above

body

This is the actual body that comes from the template

{body}

subject

This is the subject of the email

{subject}

do_not_parse

This variable will ensure that the template will not be handled by the Email Template module. This becomes handy if you use for example Firemail to send email campaigns.

{do_not_parse}

Changelog

4.1.0 (13-10-2019)

4.0.1 (29-07-2019)

4.0.0 (27-06-2019)

*Note: There is a change you will have to validate the license again

\Note:** Because the module has been renamed with a prefix reinos_ there is an update path by simply add the new update to your site and install it. By installing the module, you are disabling the old module that can be deleted afterward. Also note that you have to rename the module calls and hooks with a prefix reinos_

See this article about the rename https://addons.reinos.nl/news/modules-renamed

3.2.0 (19-12-2018)

3.1.1 (08-06-2018)

3.1.0 (25-04-2018)

*Note: you need to add your license key and license email from addons.reinos.nl in order to validate your license and add a valid domain url in your license field on addons.reinos.nl/profile/licenses or the module will not work on a live site. Also make sure you have read the license section in the documentation

3.0.0 (04-12-2017)

2.0.1 (09-11-2017)

2.0.0

1.1.3

1.1.2

1.1.1

1.1

1.0