Tokens Reference in Email HTML Templates

20/20 DataShed uses "tokens" inside the email HTML template to embed dynamic content into the otherwise static markup that you create.

This information applies to the following template files in the templates folder:

Some or all of these templates are used by the following files:

As these templates are processed and data is drawn from the database or other resources to be inserted into the outgoing email message, the tokens are processed by the ProcessEmailMessage() function located in _globals.asp and the tokens are replaced by dynamic values.

It is important to note that some tokens listed below are only relevant in special circumstances. For example, the [ParentCompanyCompanyName:] and [SenderName:] tokens will work well in any of these templates, but the [fieldUsername:] and [fieldPassword:] tokens are useful only in the "email_loginrecovery_template.html" file where both the username and password are likely to be relevant.

Below is a complete list of the tokens supported by the ProcessEmailMessage() function that you may use in these HTML template files:

[fieldFirstName:]
[fieldLastName:]
[fieldPassword:]
[fieldUsername:]
[fieldTitle:]
[ItemLink:]
[ParentCompanyAddress:]
[ParentCompanyCity:]
[ParentCompanyCompanyName:]
[ParentCompanyCounty:]
[ParentCompanyCountry:]
[ParentCompanyEmail:]
[ParentCompanyFaxPhone:]
[ParentCompanyFirstName:]
[ParentCompanyLastName:]
[ParentCompanyPhone:]
[ParentCompanyPostalCode:]
[ParentCompanyProvince:]
[ParentCompanySecondaryPhone:]
[ParentCompanyTitle:]
[ParentCompanyURL:]
[SenderEmailAddress:]
[SenderMessage:]
[SenderName:]
[Subject:]
[URLAuthorize:]
[UserDefinedFormElements:]

Related topics


© 2005 - 2007 20/20 Applications. All rights reserved.