TABLE OF CONTENTS › Textpattern Forms as Email Templates
In this context, a FORM is a Textpattern form, just like any you create on the PRESENTATION > FORMS tab. They will be templates for your emails, into which you can insert Textpattern tags and Postmaster custom tags so that each email will be unique to the subscriber.
The simplest email template is for a text email. These are great for anything from a notification that a new post has been entered, to a full-blown text newsletter.
The first step is to build the framework; the boilerplate text that will appear in every email; then add tags for the content that will change. Something like this:
===============
TEXT NEWSLETTER
===============
Dear <txp:bab_pm_data display="name" />,
A new post has been entered at <txp:site_url />.
Excerpt: <txp:bab_pm_data display="excerpt" />
===========
<txp:bab_pm_unsubscribeLink type="text" />
There is a whole industry devoted to creating text emails, so there is plenty of information on making them great.
Here is the default form, as another example:
<txp:bab_pm_data display="author" /> has posted a new article at <txp:site_url />.
Read article at: <txp:bab_pm_data display="link" />
Unsubscribe: <txp:bab_pm_unsubscribeLink />
Comment
I would like to share some resources on designing nice plaint text emails: