You are here: Content > Creating New Content > Content: Insert Condition > Content: New Content: Insert Condition

Content: Insert Condition

 

Conditional content allows you to insert blocks of text or graphics into your message depending on whether certain conditions are met by a particular recipient. Using conditional content, you can easily create unique, one-to-one emails tailored to the exact needs and interests of your recipients, without having to write (or send) more than one message.

 

All the commands work using a simple if-then-else logic: if a particular condition is true, then insert a particular block of text; else (that is, if the condition is not true), insert a different text block. Note that by text, we mean both plain text or HTML—you may include either.

 

Conditional content is a feature of ListManager Pro or Enterprise, and is unavailable for standard ListManager. Contact your account representative at sales@lyris.comif you'd like to upgrade to ListManager Pro or Enterprise.

 

 

Note for those upgrading from ListManager 5.0

If you are using the ListManager Mailings menu to create mailings for your list, ListManager will automatically set Enable Scripting to Admins Only if previously disabled, and change the Scripting Level to Full. For more information about these settings, see Utilities: List Settings: For Programmers: Email Scripting.

 

Fields Available for Conditions

The fields available for making comparisons are drawn from your ListManager members table. You may have ListManager use fields from other tables if you specify them in Content: New Content. Advanced.

 

Described here are the default ListManager member fields available; consult with your database administrator about additional fields available to you.

 

Additional_

Additional information about the recipient which you've added.

 

Comment_

Comments about the recipient which you've added.

 

ConfirmDat_

The date the recipient confirmed list membership.

 

DateBounce_

The most recent date the recipient last bounced.

 

DateHeld_

The date the recipient was changed to "held" status because of bouncing too much email.

 

DateJoined_

The date the recipient joined the list.

 

DateUnsub_

The date the recipient unsubscribed from the list.

 

Domain_

The domain portion of the email address (e.g., lyris.com).

 

ExpireDate_

The date the recipient's list membership will expire.

 

EmailAddr_

A recipient's full Internet email address.

 

FullName_

The full name of this recipient.

 

List_

The name of the list this recipient is a member of.

 

MailFormat_

The type of mail the member has opted to received, whether 'M' (multipart-alternative, the default), 'T' (text) or 'H' (HTML). The tag %%mailformat_%% will be inserted into your content.

 

MemberID_

The recipient's unique ListManager member ID.

 

MemberType_

The membership type of this member, whether 'normal', 'confirm', 'private', 'expired', 'held', or 'unsub'.

 

NumBounces_

The number of times a recipient's mail has bounced.

 

Password_

The recipient's password. If the recipient has no password, the field will be blank.

 

ReadsHtml_

Whether or not ListManager has detected if this recipient can read HTML. The default is "F" or "False." If you have set ListManager to detect HTML reading capability, and the recipient reads a message with HTML, the value is "T" for "True."

 

SubType_

The type of content this recipient is set to receive, whether digest, index, nomail, or mail.

 

UserID_

The user ID information defined by you, such as a key back to another database.

 

More Information About Personalizing Messages in ListManager

 

Inserting a condition in your content is an easy way to personalize your message. If you'd like to learn more about message personalization and scripting, see Message Personalization and Scripting.

 

More

 

1. Content: Insert Condition

1. Content: Insert Condition: Simple

2. Content: Insert Condition: True/False

3. Content: Insert Condition: A or B

4. Content: Insert Condition: A and B

5. Content: Insert Condition: Percentage