Lyris User's Guide
[previous] [next] [contents]
Recipient Fields
Table of Contents
Introduction
Lyris Email Commands
Web Interface for Users
Server Administrator
Site Administrator
List Administrator
Other Topics
Security Considerations
Security Issues Relating to Members
Lyris Mail Merge
Recipient Fields
Member Fields
List fields
Site fields
Email Address fields
Incoming Mail fields
Date Field
The Lyris command line
Modifying lyris.plc
Add-On Packages
Installing and Upgrading
Appendix
Frequently Asked Questions

Recipient Fields

The following mail merge fields are substituted on the fly, for each recipient as each message is delivered.

$subst('Recip.EmailAddr')
This substitutes in the recipients' email address.

For example, you might make your list header be:

    To: $subst('Recip.EmailAddr')

    You may be interested to know….

and Lyris would substitute it to say:

    To: bob.smith@somewhere.com

    You may be interested to know….

$subst('Recip.FullName')
This substitutes in the recipients' full name. If the member does not have a full name, their email address is used instead.

For example, you might start your mailing out with this:

    Dear $subst('Recip.FullName'), we are glad that you have…

and Lyris would substitute it to say:

    Dear Bob Smith, we are glad that you have…

$subst('Recip.FirstName')
This substitutes in the recipients' first name (the first component of their full name). If the member does not have a full name, their email address is used instead. If a member only has a single component to their name, that component is used.

For example, you might start your mailing out with this:

    Dear $subst('Recip.FirstName'), we are glad that you have…

and Lyris would substitute it to say:

    Dear Bob, we are glad that you have…

$subst('Recip.MemberID')
This substitutes in the recipients' unique Member ID. This is useful for exactly identifying the user.

$subst('PurgeID')
This substitutes in the Recipient's email address, in square brackets. If this text is forwarded to the unsubscribe-listname@… or purge@… address, Lyris will automatically locate it and unsubscribe this address. This allows you to provide a failsafe unsubscribe mechanism. For example, a typical list footer might be:

    This is a posting from: $subst('List.Name')

    To unsubscribe, forward this message to $subst('Email.UnSub')

    $subst('PurgeID')

$subst('Outmail.MessageID')
This substitutes in the message's unique ID. This is useful for exactly identifying the message.

For example, if you sent the following message to a mailing list:

    Hello! Your email address is $subst('Recip.EmailAddr'), your member ID is $subst('Recip.MemberID') and the ID of this message is $subst('Outmail.MessageID').

To the person who received the message, it might look like this:

    Hello! Your email address is bob@somewhere.com, your member ID is 905 and the ID of this message is 3154.

Other pages which link to this page:
  • Lyris Mail Merge
  • New in 3.0 beta 5 (v2.548)
  • Page 400 of 556