Creating Dreamweaver Templates for Outbound E-mail
A Dreamweaver Template for Outbound E-mail defines the look and feel of the content of a Mailing.
Before you begin
Creating Dreamweaver templates requires the following:
- Template Builder is installed.
- You have Template Management rights.
- You have write permissions for the Folder in which you intend to create the template.
About this task
In a Compound Template, a Dreamweaver Template Building Block receives a package from the previous Template Building Block in the Compound Template sequence. It then defines the look and feel of the content it receives turning it into visualized content.
Some email recipients do not have access to an email client that can handle HTML-formatted email (as defined in Contact details). To accommodate this, you need to define both a plain-text and HTML version of a Dreamweaver Template to add to your Compound Page Template that defines the look and feel of respectively your plain-text emails and HTML emails. When you add these Dreamweaver Templates to the Compound Page Template, the rendered Page will contain information about both visualizations.
Procedure
Results
<html xmlns="http://www.w3.org/1999/xhtml">
<body>
<p>This is an example of an Outbound Email Template.</p>
<!-- TemplateBeginRepeat name="Components" -->
<!-- TemplateBeginRepeat name="Fields" -->
<p>@@textField@@</p>
<!-- TemplateEndRepeat -->
<!-- TemplateEndRepeat -->
<p><img src="@@EmbedImage("tcm:1-33")@@"/></p>
<a href="@@OutboundEmail_ConfirmURL@@">Click here to confirm subscription</a>
<a href="@@OutboundEmail_ChangeProfileURL@@">Click here to change your profile</a>
<a href="@@OutboundEmail_UnsubscribeURL@@">Click here to unsubscribe</a>
<a href="@@GetLinkTrackingURL('http://google.com','Google')@@">GoogleLink</a>
</body>
</html>
What to do next
For information about:
- Creating Dreamweaver Templates for generating HTML versions and Text versions of email content, see Separating HTML format and plain-text format.
- Using the Dreamweaver Template in a Compound Page Template, see Creating a Compound Page Template.