Email field codes

The following table shows data fields you can include in email templates. To insert a field, type the field code or press Insert field on the HTML toolbar (see Email templates). When the email is generated, the code will be replaced by the appropriate value from the database.

Not all fields are available on all emails.

Item

Field code

Notes

e.g.

Account email

${accountEmail}

The email address on the user's account

willow@ucsunnydale.edu

Account support email

${supportEmail}

The support email address from Preferences > Account

rupert.giles@watchers.org.uk

Account support first name(s)

${supportForenames}

The support first name from Preferences > Account

Rupert

Account support last name

${supportSurname}

The support last name from Preferences > Account

Giles

Account support telephone

${supportPhone}

The support telephone number from Preferences > Account

01234 567890

Activation Code

${activationCode}

Forms part of the activation link

ADP37CPHL6

Activation Code Expiry

${activationCodeExpiry}

The date by which the user must activate their account

Tue Jul 27 06:17:51 UTC 2021

Athens URL

${athensURL}

Forms part of the activation link (don't remove it)

-

Expiry date

${expiryDate}

The expiry date of the account

Thu May 21 01:00:00 BST 2015

Organisation name

${organisationName}

The organisation name under which the account sits, from Preferences > Organisation

Watchers Council

Organisation support email

${organisationEmail}

The support email address from Preferences > Organisation

rupert.giles@watchers.org.uk

Organisation support telephone

${organisationPhone}

The support telephone number from Preferences > Organisation


Organisation support website URL

${organisationWebsite}

The support website address from Preferences > Organisation 

https://slayer.ucsunnydale.edu 

User first name(s)

${accountForenames}

The first name(s) on the user's account

Willow

User last name

${accountSurname}

The last name on the user's account

Rosenberg

User name

${accountUsername}

The account username

abcwrosenberg001

User phone number

${accountPhone}

The telephone number on the user's account

09876 543210

See also