User Manual
Command Reference Port Commands
12-49
12.6.8 Define Email
Configures email notification in a format known as an emailsite, which contains all of the information
needed when email notification for port buffering is enabled. Emailsites can be named default or portxx,
where xx is the port number. The portxx sites will be used for email notification on that port, e.g. the port12
emailsite will be used for port buffering on port 12.
The default emailsite configurations will be used to fill in any blanks for the port-specific emailsites.
All of the above strings can use dynamic print variables. Available dynamic print variables are shown in the
following table.
Note: Dynamic print variables are case-sensitive. You must use all capital letters in the
variables to avoid problems.
Restrictions Requires privileged user status.
Table 12-3: Dynamic Print Variables
Variable Parsing Function
$FN Displays the file name currently being accessed
$SC Prints Lantronix
$SD Adds a date stamp to the web page in the Day Month
Date, Year format (e.g. Tue June 8, 1999)
$SH Substitutes the SCS’s hardware address
$SI Print’s the SCS’s IP address
$SM Prints the domain name of the network the SCS is on, as
specified with the Set/Define IP Domain command
$SN Prints the SCS’s name, as specified with the Set/Define
Server Name command
$SP Prints the product name of the SCS
$ST Adds a time stamp in the Hour:Minutes:Seconds format
(e.g. 12:42:08)
$SV Prints the version of operating software the SCS is
currently using.
DEFINE EMAIL emailsite
TO address
FROM string
SUBJECT subject
MAILHOST mailhost
REPLYTO address