Default template: /templates/email/notify.txt
Default template: /templates/email/email_test.txt (a static message with no placeholders)
Spare template: /templates/email/notify.txt.full (a reference with every placeholder for notify.txt)
Email Notifications are sent when articles are 1) created, 2) published, 3) modified and 4) erased.
To use Email Notification, you'll need to:
- Configure and test the mail server in Setup Options / Server Options.
- Setup the appropriate users in Setup Options / Login Accounts to receive notification.
- (Optional) Customize the email templates to suit your purposes.
The "to" field of all notification email is left blank - to save server burden, the email is BCC'ed to all appropriate users. You may optionally configure the contents of the "to" field in the config.ini file.
Placeholders available to notify.txt
Primary Placeholders
| placeholder |
description |
| $event$ |
Contains the event or events that caused the email notification (article created, published, or modified). Values of the $event$ placeholder may be specified in config.ini |
| $status$ |
the article status when notification was sent (pending, visible, hidden, or erased) |
| $user_fullname$ |
the Full Name of the user who triggered the event |
| $art_name$ |
the title of the article |
| $art_date$ |
the date of the article |
| $art_time$ |
the time of the article |
$art_field1$ to $art_field20$ |
any one of the twenty spare fields as defined in the Setup Options |
| $cat_name$ |
the name of the article's category |
| $url_index$ |
the url to the Category Index page of the article's category |
| $detail_link$ |
the url to the article's Detail Page |
| $art_summary$ |
the article's summary content |
| $art_content$ |
the article's main body of content |
| $url_gindex$ |
the url to the Global Index |
| $url_publish$ |
the url to the directory containing all published files |
| $url_search$ |
the url to Article Manager's Search Engine |
Other Placeholders
The following placeholders are also available for notify.txt, but are of lesser value.
Global Placeholders
| placeholder |
description |
|
$file_gcategories$ |
filename of the Global Category List include (none selected)
|
|
$file_gheadlines$ |
filename of the Global Headlines include
|
|
$file_headlines_bycat$ |
filename of the Headlines by Category include
|
|
$file_search$ |
filename of the Search Form include
|
|
$global_updated$ |
the date and time any published pages were last updated
|
|
$gcat_name$ |
the Global Category Name
|
|
$url_thispage$ |
the url of the current page, or the index page for summary, link and upload article types
|
Document placeholders
| placeholder |
description |
|
$cat_image$ |
the url to the category image of the article's category
|
|
$cat_image_height$ |
the height of the category image
|
|
$cat_image_width$ |
the width of the category image
|
|
$file_categories$ |
filename of the Category List include (with the article's category selected)
|
|
$file_headlines$ |
filename of the Category Headlines include for the article's category
|
|
$art_num$ |
the record number of the article
|
|
$cat_num$ |
the record number of the article's category
|
|
$art_day$ |
Date: day of the month of the article
|
|
$art_mon$ |
Date: month number of the article (1 - 12)
|
|
$art_year$ |
Date: year of the article (four-digit)
|
|
$art_hour$ |
Date: hour of the article
|
|
$art_min$ |
Date: minute of the article
|
|
$art_ampm$ |
Date: morning/evening indicator of the article
|