B.5
Contents of the MAIL.PL File
#!/usr/local/bin/perl
#
#------------------------------------------------------------
#+
# File Identification:
# Version Number: V2.0
# Date:
# Used By:
# Copyright:
#-
#------------------------------------------------------------
#+
# WARNING !!!
# ===========================
# This file MUST be modified before it can be used.
#
# The smpt e-mail server that is used at the customer's site
# needs to be placed into the command below.
#
# It can be entered as a numerical TCPIP address or by node
# name. For example:
# $remote = "16.158.232.65"
# or
# $remote = "my.email.server.name.com"
#
# In the line below insert the customer's smpt e-mail server
# address or name between the quotation marks:
#
$remote = "";
#-
#------------------------------------------------------------
#+
# Additional File Related Information:
#
# Description:
#
When ConsoleWorks has been configured to send
#
e-mail in response to an event, ConsoleWorks will
#
spawn MAIL.BAT which will execute this script.
#
This script will send a smpt e-mail to the contact(s)
#
in $ARGV[4] to alert them about this event.
#
# File Dependencies:
#
This file requires PERL programming language.
#
(PERL is installed as part of the ConsoleWorks
#
installation.)
#
# Engineering Group:
#
B-8
System Management Console User's Guide
MAIL.PL
16-Oct-2001
ConsoleWorks
2001 Compaq Computer Corporation
Compaq AlphaServer Engineering
Need help?
Do you have a question about the AlphaServer GS80 and is the answer not in the manual?