Track: Email Notifications

You can set Track up to send out email notifications to users and/or departments in three types of situations:

 

You can configure the type of notification and its frequency. You can also override these configurations for certain destinations.

 

The setting of the EmailNotification parameter determines whether and when email will be sent. You can set this variable in the system defaults and/or for specific users, departments, and destinations. The settings for specific users, departments, and destinations override the system default setting. The options are

 

The text of email notifications comes from one of three message files in the Track directory install_dir/adm/omtrack. These are template files that you can change.

 

To provide data relevant to the user receiving the email, Track performs text substitutions for keywords embedded in the message templates. Each variable to be substituted for the corresponding value from the database must be surrounded by braces { }.

 

For example, to show a user the number of points used, you could use the following line in the email template file:

 

The number of points you have used is {PointsUsed}.

 

Track inserts the actual number of points used in place of the variable {PointsUsed}.

 

You can substitute the following variables into the email message templates. The fields may pertain to a user or a department.

 

Track attempts to send the script to the user’s or department contact’s email address set in the parameter EmailAddress. If the user’s or department contact’s email address is not set, Track logs an error.

 

The subject of the message is always Track Quota Notice.

 

When sending email, lpsquota invokes the script trackemail in install_dir/adm/omtrack. The form and content of these messages are outlined in the table below. Track replaces the variable n with the actual number of points.

 

Status

Message

within quota

Output allowance points used: n, including this file of n points

n points still available.

over quota, accepted

Output allowance of n points exceeded

Points used: n, this file n.

Your file has been accepted.

over quota, held

Output allowance of n points exceeded

Points used: n, this file n.

Your file has been placed on hold.

over quota, deleted

Output allowance of n points exceeded

Points used: n, this file n

Your file was not accepted.

over quota, rejected

Output allowance of n points exceeded

Points used: n, this file n.

Your file was rejected.

 

 

You can customize the trackemail script.