Fax notification email body
This is the body of the email that is sent when a new fax has been received. Available variables are:
- <TMPL_VAR NAME=VOICEMAILS> the number of voicemails in the mailbox
- <TMPL_VAR NAME=PERCENT> the percentage of the maximum number of messages allowed
- <TMPL_VAR NAME=WARN_PERCENT> Boolean, takes the value of 1 if the percentage of messages is above the warning percentage limit
- <TMPL_VAR NAME=FULL> Boolean, takes the value of 1 if the percentage of messages is equal or above 100%
- <TMPL_VAR NAME=VOICEMAIL> Boolean, takes the value of 1 if the message is a voicemail
- <TMPL_VAR NAME=FAX> Boolean, takes the value of 1 if the message is a fax
- <TMPL_VAR NAME=CUSTOMER_NAME> The name of the customer
- <TMPL_VAR NAME=FOLDER> The folder of the message
- <TMPL_VAR NAME=DATE> The date of the message
- <TMPL_VAR NAME=VERBOSE_DATE> The time of the message in verbose, human-readable format,
- <TMPL_VAR NAME=TIME> The time of the message
- <TMPL_VAR NAME=VERBOSE_TIME> The time of the message in verbose, human-readable format
- <TMPL_VAR NAME=SECONDS> The modulo of the division of the duration of the message by 60
- <TMPL_VAR NAME=MINUTES> The result of the division of the duration of the message by 60 rounded down to the nearest integer
- <TMPL_VAR NAME=URGENT> Boolean, takes the value of 1 if the messages is in the Urgent folder
- <TMPL_VAR NAME=PATH> The file path of the message
- <TMPL_VAR NAME=NAME> The filename of the message without the extension
- <TMPL_VAR NAME=EXTENSION> The filename extension of the message
- <TMPL_VAR NAME=TYPE> The type of the message, fax or voicemail
- <TMPL_VAR NAME=TIME> The timestamp of the message, in epoch format
- <TMPL_VAR NAME=UNIQUEID> The unique id of the message
- <TMPL_VAR NAME=PID> The pid of the message
- <TMPL_VAR NAME=CALLERID> The calling party’s number
- <TMPL_VAR NAME=CALLERNAME> The calling party’s name
- <TMPL_VAR NAME=CALLED> The called party’s number if the message is a fax
- <TMPL_VAR NAME=DURATION> The duration of the message if it is a voicemail
- <TMPL_VAR NAME=NOTIFIED> The mailbox name that was notified
- <TMPL_VAR NAME=PAGES> The number of pages of the message, if it is a fax
- <TMPL_VAR NAME=ATTACH> Boolean, takes the value of 1 if the message is to be attached to the email, 0 if otherwise
- <TMPL_VAR NAME=WEB_BASE> The web base URL of the customer
- <TMPL_VAR NAME=HASH> The hash of the message
- <TMPL_VAR NAME=XXX> Name of any column xxx from table 'mailboxes', referring to the mailbox that received the message
- <TMPL_VAR NAME=YYY> Name of any column yyy from table 'people', referring to the person that is set as contact for the customer that is invoiced.