Mailkit templates use HTML enriched with the power of dynamic templates to automate your email campaigns.
This powerful template system allows you to create templates with dynamic content that comes from your data sources. This includes additional template files that create conditions and loops for information retrieval and many other exciting features. For complete documentation on all template features, see the Template Toolkit documentation.
Manage templates can be found in the Campaigns / Templates menu. To add a new template, click the Add template button. The template is filled in with the template name and description, and if the template is linked to the data source (s), it selects (selects) from the menu. Only those data sources that were defined for the templates were defined.
Once the template has been created, it can be edited and customized. Each template consists of the main files (HTML and plain text), but it can also contain additional files.
The basic tags used in the master template file are as follows:
Template Code Example:
[% FOREACH data.DS_RSS_EXAMPLE -%]
<a href="[% URL -%]"><img src="[% ENCLOSURE -%]" alt="[% TITLE -%]" /><br />
<a href="[% URL -%]">[% TITLE -%][% DESCRIPTION -%]
[% END -%]
<div class="footer">
You are receiving this newsletter as a registered user of Example.com. To unsubscribe click <a href="[SIGNOUT]" target="_blank">here, or visit [SIGNOUT] © 2006 - <a href="http://www.example.com/" target="_blank">Example.com</a>
<div>