Boolean Constants

Boolean Constants Boolean constant values must use true or false values and are case-insensitive, as shown in the example below: %%[ var @statusTier, @freeShipping set @statusTier = AttributeValue("Tier Level") if @statusTier == "Gold" then /* string constant */ set...

Subscriber Data Strings

Subscriber Data Strings String Description Example Output emailaddr The email address of the Subscriber leon@limedash.com firstname_ or firstname The Subscriber’s first name from the ‘FirstName’ Subscriber Profile Attribute Leon lastname_ or lastname...

Attributes

Attributes Attribute Strings and other Personalization Strings can also be used with AMPscript. However, in this case, the double percentage delimiters (%%) should not be included. If the Attribute includes a space character or hyphen, the string must be contained in...

Sender Data Strings

Sender Data Strings String Description Example Output replyname The email From name, retrieved from the Sender Information in the Sender Profile, or the selected user profile Limedash Corporation replyemailaddress The email From email address, retrieved from the...

Statements

Statements The if statement allows the conditional evaluation of one or more expressions, which, if it evaluates to true, will process the block of code within it. An if statement, at a minimum, must contain three elements: an opening if statement a then statement...

Email URL Data Strings

Email URL Data Strings String Description Example Output view_email_url URL to view the email http://view.s6.exacttarget.com/?qs=17f9ecc7fcd5... ftaf_url URL to a Forward to a Friend form page http://view.s6.exacttarget.com/ftaf.aspx?qs=17f9ecce47fcd......