spam_history
table
If checked, then Tcl evaluator will be run at the time the message is actually sent on message subject and body, substituting variables or procedure calls wherever \$ and \[\] chars are found. This is specially useful for creating automatically generated templates, such as a daily report which runs a tcl procedure to query the database or create some other summary message.
Note: if you have the Template? option selected, make sure you use backslash to quote any $ or '[]' characters in your message, if you do not want them to undergo evaluation by the Tcl parser.
The following variables are guaranteed to be set in the environment, for use by your template.
db2
a database handle for any subqueries you want to make
user_id
the user_id of the current target user
email
the email address of the current target user
first_names
last_name
The param is an association-list, with SQL patterns on the left, and
pseudo-mime types on the right. Supported types right now are text/html,
text/html, and text/aol-html
.
EmailTypes={%@hotmail.com text/html} {%@aol.com text/aol-html}
Below is an example of the periodic spam admin form, showing the options for configuring periodic messages which get their content from named files the drop-zone directory:
Daily Spam File LocationsYour Workspace : Admin Home : Spam : List Daily Spam FilesSpam files to look for in drop-zone directory "/web/arsdigita/spam/". To delete an entry, just enter an empty string for the filename and subject, and press the Modify button. 'From address' is optional; if left blank, the default spam system from-address will be used. |