Difference between revisions of "Email variables"

From Kolmisoft Wiki
Jump to navigationJump to search
Line 15: Line 15:
* '''<%= nice_balance %>''' - Formated user's balance
* '''<%= nice_balance %>''' - Formated user's balance
* '''<%= warning_email_balance %>''' - Amount below which user should be warned with email.
* '''<%= warning_email_balance %>''' - Amount below which user should be warned with email.
* '''<%= nice_warning_email_balance %>''' - Formated  
* '''<%= nice_warning_email_balance %>''' - Formated amount below which user should be warned with email.




'''See also:'''
'''See also:'''
* [[Configuration from GUI#Emails | Email Configuration]]
* [[Configuration from GUI#Emails | Email Configuration]]

Revision as of 15:32, 3 November 2009

These variables can be used in emails:

  • <%= server_ip %> - Server IP where your users should register their SIP/IAX2 devices
  • <%= device_type %> - Used on user registration - shows device's type user had selected
  • <%= device_username %> - Used on user registration - shows device's username
  • <%= device_password %> - Used on user registration - shows device's password
  • <%= login_url %> - GUI login url
  • <%= login_username %> - User's username to login to GUI
  • <%= login_password %> - User's password to login to GUI (after registration)
  • <%= username %> - same as login_username
  • <%= first_name %> - First name of the user
  • <%= last_name %> - Last name of the user
  • <%= full_name %> - First name and last name of the user
  • <%= balance %> - User's balance
  • <%= nice_balance %> - Formated user's balance
  • <%= warning_email_balance %> - Amount below which user should be warned with email.
  • <%= nice_warning_email_balance %> - Formated amount below which user should be warned with email.


See also: