User`s guide

552
EMAIL TEMPLATES
One of the principal features provided by the event log function is the ability to configure
the unit to automatically generate and send an email alert message each time an event of
up to a specified priority occurs. The format of the message is determined by the email
template specified in the Use email template file parameter (normally EVENT.EML) in the
Configuration - Alarms > Event Settings > Email Notifications web page.
If the standard EVENT.EML template supplied with the unit is not suitable, you may create
your own template. An email template is simply a text file that defines the appearance and
content of the email messages generated by the event logger.
Template Structure
An email template consists of a header section followed by a body section. One or more
blank lines separate the two sections.
The Header Section
The header section MUST contain the following three fields:
TO:
This field is used to specify at least one recipient’s email address. Multiple addresses may be
included and must be separated by a space, comma or semicolon character. For example:
To: 123@456.com, 456@123.com; abc.def.com
FROM:
This field is normally used to supply the email address of the sending unit but alternatively
you may enter a simple string. This may depend on the SMTP server as to what is accepted.
For example:
FROM: WR44
Or
FROM: wr44@mycompany.com
SUBJECT:
This field should contain a string describing the subject of the email message. For example:
Subject: Automated message from router
Other Fields
In addition to the mandatory fields described above, the header section of an email may
also contain one or more optional fields. Many such fields are defined in the relevant RFCs
but there are some fields that the unit handles a little differently as described below. The
unit will insert other fields as necessary if it is required to send attachments with the email
Reply To:
If the unit discovers that this field is not present in the email template, the unit will insert
this field into the header. The string used for this field is that configured by the
smtp 0
reply_to
CLI command (or the use "Reply To" address parameter in the Configuration -
Alarms > SMTP Account web page). This allows for different reply addresses, and allows
a simple way of using the same (easily configurable) reply address for all emails.
Date: