7.1

Table Of Contents
8.3 Managing E-mail Templates
The introduction of E-mail templates simplifies the management and customization of e-mail messages send
by PrintShop Maill Web. E-mail templates are HTML documents and are stored on the file system of the
PrintShop Mail Web web server. The e-mail templates can be altered using a plain text editor (e.g. Note
Pad++).
An e-mail template combines HTML and PHP allowing the administrator to add and remove information from
the message. As the templates are using the PHP scripting language custom content conditions can be added
by adding local functions that use variables supplied by PrintShop Mail Web.
Templates can be overwritten per skin allowing the look and feel of the message to be changed according to
that skin.
A range of e-mail template functions can be added to perform specific tasks like adding cc and bcc addressees
as well as adding e-mail attachments.
The options covered by this document are:
The organization of e-mail templates.
E-mail settings.
E-mail template attributes per message type (order notification, forgot password).
E-mail template functions.
In order to create language specific exceptions, sub folders can be created for each language (in the
emailtemplates folder). The name of these sub folders should match the Iso code as specified in the Language
section of the Settings section.
The system will check for the existence of an e-mail template in the folder structure of the current skin. E-mail
templates in a skin folder have a higher priority and if found this message is used. The organization inside a
skin folder is similar to the default e-mail templates location. The administrator can simply place a copy of the
emailtemplates folder in the folder of the skin and start customizing the templates. The iso code used in the
folder path is in lowercase.
Below an overview of the possible e-mail template locations, sorted by priority:
1. C:\Program Files\PrintShop Mail Suite 7\PrintShop Mail
Web\Website\templates\<skinname>\misc\emailtemplates\<isocode>
2. C:\Program Files\PrintShop Mail Suite 7\PrintShop Mail
Web\Website\templates\<skinname>\misc\emailtemplates
3. C:\Program Files\PrintShop Mail Suite 7\PrintShop Mail Web\Website\misc\emailtemplates\<isocode>
4. C:\Program Files\PrintShop Mail Suite 7\PrintShop Mail Web\Website\misc\emailtemplates
8.3.1 Edit a default e-mail template
To edit a default e-mail template:
1. Select an e-mail template document on the following location: C:\Program Files\PrintShop
Web\Website\misc\emailtemplates and open the file in a plain text editor.
2. Edit the text in the document.
3. Click Save to store the changes.
To add e-mail templates to a skin simply place a copy of the emailtemplates folder in the folder of the skin
and start customizing the templates.
Objectif Lune Inc. © 2010 141