NATS3 Mailer Template Variables

From TMM Wiki
Revision as of 13:36, 17 December 2008 by Trinidadr (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
NATS 3
Mailing Admin
NATS3 Mailing Admin
Email Expired Members
Repeating Email
Member Cancel Emails
Member Chargeback Emails
Member Credit Emails
Member Join Emails
Member Rebill Emails
Mailer Template Variables

Each of the two mailing templates has access to the same Smarty variables and resources. Both member and affiliate mailings have access to Smarty Variables that exactly match the field names from the accounts, account_details, and members tables.

Member Emails

  • {$memberid} - Internal Member ID
  • {$firstname} - First name
  • {$lastname} - Last name
  • {$username} - Username/Login
  • {$password} - Password
  • {$email} - E-Mail address
  • {$status} - Numeric Status
  • {$joined} - Joined Date
  • {$joined_time} - Joined Seconds (for date_format)
  • {$expires} - Expired Date
  • {$expires_time} - Expired Seconds (for date_format)
  • {$address1} - Address line 1
  • {$address2} - Address line 2
  • {$city} - City
  • {$zip} - ZIP/Postal code
  • {$state} - State
  • {$country} - 2 Letter Country code
  • {$spent} - Amount Spent
  • {$trial} - True if Trial
  • {$siteid} - ID of Site to which this member belongs
  • {$rebills} - Number of Rebills

Affiliate Emails

  • {$loginid} - Internal login ID
  • {$firstname} - First name
  • {$lastname} - Last name
  • {$username} - Username/Login
  • {$password} - Password
  • {$company} - Company name
  • {$pay_to} - Pay to the order of
  • {$address1} - Address line 1
  • {$address2} - Address line 2
  • {$city} - City
  • {$zip_code} - ZIP/Postal code
  • {$state} - State
  • {$country} - 2 Letter Country code
  • {$url} - Home page
  • {$email} - E-Mail address
  • {$tel} - Telephone number
  • {$icq} - ICQ UIN
  • {$aim} - AIM Nick
  • {$last_login} - Time of last login
  • {$minimum_payout} - Minimum payout amount
  • {$date_posted} - Time of signup (for date_format)
  • {$tax_id_or_ssn} - Tax ID/SSN
  • {$owed} - The amount owed to this affiliate
  • {$nats_code[P][S]} - User specific nats code. P - program I.D. number. S - site I.D. number