Member Cancel Emails

From TMMwiki
Jump to: navigation, 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

You can customize the content for each email event. Along with the basic Smarty Template capabilities, you also have access to variables that can add member specific data into the email body. This article describes the special data and variables that you have access to in the mail_member_cancel email template.

The List of Variables

There is only one variable assigned to Smarty that contains the relevant member data in the mail_member_cancel template - {$data}. The {$data} variable is actually an array that contains all of the fields from the members table and the sites table and contains data specific to the single member and site for which the cancel is being processed. The field names are referenced as follows:

Figure 1.1 - mail_member_cancel Variable Example

The following is a complete list of all fields currently assigned to the $data array. These are divided between that which comes from the members table and that which came from the sites table. Most will never be used:

Useful Variables or Commonly Used Variables

  • joined
  • last_login
  • username
  • password
  • firstname
  • lastname
  • email
  • address1
  • address2
  • zip
  • city
  • country
  • state
  • expires_timestamp

Lesser Used and/or Less Useful Variables

  • memberid
  • status
  • trial
  • memberidx
  • expires
  • stamp
  • siteid
  • tourid
  • campaignid
  • programid
  • rebills
  • spent
  • refunded
  • cost
  • cost_charge
  • cryptpass
  • billerid
  • cascade_name
  • optionid
  • subid1
  • subid2
  • adid
  • ip
  • urlref
  • session
  • mailok
  • custom1
  • custom2
  • ptype
  • charges
  • flat_price
  • shipping_firstname
  • shipping_lastname
  • shipping_address1
  • shipping_address2
  • shipping_zip
  • shipping_city
  • shipping_country
  • shipping_state
  • nextrebill
  • phone
  • cchash
  • first_login
  • verify_amount
  • verify_hash
  • verify_is_active
  • verify_needed
  • xsell_success
  • xsell_message
  • third_party_partner_id
  • previous_memberid
  • upgradeid
  • Sites Table Data
  • Useful Variables or Commonly Used Variables:
  • name
  • shortname
  • url
  • linkdomain
  • description
  • thumb
  • Lesser Used and/or Less Useful Variables:
  • siteid
  • deleted
  • spartaurl
  • denyurl
  • denypost
  • approvalurl
  • approvalpost
  • rebillpost
  • creditpost
  • chargebackpost
  • userpost
  • userman
  • expirepost
  • ccbill
  • ccb900
  • epoch
  • epochlow
  • ibill
  • wts
  • jettis
  • jetgate
  • netbilling
  • mpmember
  • mp
  • 123bill
  • ec
  • custom
  • admin_signup_email
  • upgradeurl
  • upgradepost
  • nocc
  • allowed_lang
  • alternativeurl
  • allowed_lang_track
  • hidden
  • type
  • universal
  • vxs
  • gxb
  • sp_reseller
  • sp_expenses
  • sp_percentage
  • symmetrex
  • mvc
  • twocharge
  • sp_on_income
  • verotel
  • allopass
  • plugnpay
  • entity
  • eurobill
  • epronet
  • authorize
  • epaynl
  • cml
  • txtnme
  • ops
  • pbp
  • dhd
  • lpapi
  • mail_member_joined
  • mail_member_canceled
  • mail_member_rebilled
  • mail_member_credited
  • mail_member_chargebacked
  • upgradedenyurl
  • upgradedenypost
  • idbill
  • localb
  • mercsol
  • paccess
  • prejoinpost
  • rsbilling
  • segpay
  • nbnative
  • 365billing
  • clearcard
  • ipay
  • pppcard
  • cgate
  • sexmoney
  • vidsecrets
  • xondemand
  • webpay
  • pvanilla
  • netcash
  • globalc
  • cardgate
  • bline
  • inter
  • aconti
  • heidelpay
  • streamate
  • jettisintl
  • effex
  • paygea