Digi TransPort WR11 User Manual page 684

Hide thumbs Also See for TransPort WR11:
Table of Contents

Advertisement

Configuring alarms
for different reply addresses, and a simple way of using the same (easily configurable) reply address
for all emails.
Date
If this field is present in the header, the router inserts the current date and time into the header. The
date and time are values local to the router and do not contain any time zone information.
Body section
The body section can include any text. This text is parsed for any function calls that may be present.
Function calls must be enclosed between <% and %>. These sequences are substituted by text
resulting from the function call. You can use the following functions:
Function
TimeSmtp();
serial_number();
Smtpip();
email_event()
Smtpid()
pppip("instance");
Example email templates
Following are examples of email templates.
Example 1
TO: 123@ abc. co. nz
FROM : M yRout er
SUBJECT: Rem ot e Conf i gur at i on
ß Thi s bl ank l i ne i s r equi r ed
Ti m e: <% t i m eSm t p( ) ; % >
Ser i al Num ber : <% ser i al _num ber ( ) ; % >
Req: CFG_RQ
I P Addr ess: <% sm t pi p( ) ; % >
PPP 1 I P addr ess: <% pppi p( " 1" ) ; % >
Example 2
TO: f r ed@ anyco. com , j ane@ anyco. co. uk
FROM : M yRout er
SUBJECT: aut om at i c em ai l
M I M E- Ver si on: 1. 0
ß Thi s bl ank l i ne i s r equi r ed
Uni t : <% sm t pi d( ) ; % >
Event : <% em ai l _event ( ) ; % >
Digi TransPort® Routers User Guide
Description
Inserts the router's date and time.
Inserts the router's serial number
Inserts the IP address of the router as seen by the SMTP server
during transmission
Inserts a formatted description of the event that caused the email
transmission.
Inserts the router ID for this device as configured by the Router
Identity field in the Configuration > System > Device Identity
web page, or the cmd 0 unitid CLI command.
Inserts the IP address for a specific PPP instance, where instance
is the PPP instance number.
Configure events to trigger alarms
684

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents