The content of the emails sent by email campaigns is based on templates (with the exception of dynamic newsletter emails).
You can manage the templates on the Templates tab of the Email marketing application.
There are four types of templates:
To add new templates for an email campaign:
Open the Email marketing application on the Templates tab.
Click New template.
Type a Display name for the template.
Select the Template type.
Click Save. The system creates the template and opens its General tab.
(Optional) Set the following properties:
Property | Description |
|---|---|
Thumbnail | Allows you to upload an image that will be displayed as a representation of the template when creating new campaign emails. Only available for Email templates. |
Subject | Sets the subject of the emails based on this template. Only available for Double opt-in, Subscription confirmation and Unsubscription confirmation templates. This field is not available for Email templates, since authors enter the email subject when writing individual issues. |
Write the opening and closing HTML code of the email message in the Header (HTML) and Footer (HTML) fields (including the <html> element).
Define the main layout and content of the template inside the Body editor.
Adding regions to issue templates
Email templates need to contain editable regions, where the authors of individual emails issues can enter content.
To insert a region:
The body editor adds the region to the current cursor position as an expression in format:
$$regionName:width:height$$Adding newsletter fields
You can insert the following fields anywhere inside the body of the template:
Note: The field expressions only work in emails sent to actual subscribers. They do not resolve correctly when sending draft emails, since the recipients are not linked to subscribers in the system.
You can also enter any other types of macro expressions into email campaign templates.
(Optional) Use the CSS stylesheet field to define any CSS classes that you want to apply to the emails based on this template.
(Optional) Click Attachments to attach files to the template.
Click Save.
You can now use the template in your campaign emails.
In addition to the main template configured for static email campaigns, you can also add any number of alternative templates.
When editing a Email type template, you can assign it to individual emails by editing a static email campaign on its Templates tab.
Once an email campaign has multiple templates allowed, authors can select a template when creating an issue using Show advanced options.