Creating Dreamweaver Templates for Outbound E-mail
This section describes how create a Dreamweaver Template for Outbound E-mail.
Before you begin
- To create a Dreamweaver Template you must have Template Management rights as well as write permissions for the Folder in which you intend to create the Compound 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 and defines the look and feel of the content it receives turning it into visualized content. As some e-mail recipients do not have access to an e-mail client that can handle HTML-formatted e-mail (as defined in Contact details), you need to define both a plain-text and HTML version of a Dreamweaver Template to add to your Compound Page Template to define the look & feel of respectively your plain-text e-mails and HTML e-mails. When you add these Dreamweaver Templates to the Compound Page Template, the rendered Page will contain information about both visualizations.
This section describes how create a Dreamweaver Template specifically for Outbound E-mail. For detailed information on creating Dreamweaver Templates, see Creating an Adobe Dreamweaver Template.
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 e-mail content, see Separating HTML format and plain-text format.
- using the Dreamweaver Template in a Compound Page Template, see Creating a Compound Page Template.