HP StorageWorks Storage Mirroring Recover Scripting Guide (T5437-96009, November 2009)

210 of 332
Email Test
Command EMAIL TEST
Description Sends a test message to demonstrate e-mail notification
Syntax
EMAIL TEST [SENDTO <email_address[,email_address,...]>]
[TEXT <message_text>]
Options
email_address—Specifies the e-mail address(es) to send
the test message to if you do not want to use the e-mail
addresses configured with the EMAIL ADD command. This is
a comma separated list of addresses. The entire list should
be enclosed in quotation marks. A space should separate the
SENDTO switch from the list of addresses but within the list,
there should be no spaces.
message_text—Text to be displayed in the body of the test
e-mail message. The test message is limited to 1024
characters and must be enclosed in quotation marks.
Examples
email test sendto "admin@domain.com,
suppport@domain.com"
email test sendto "admin@domain.com" text "This is a test
message."
Notes
The default setting for this command are to use the addresses
configured with the email add command. and to appends the
word Test to the prefix defined in the email subject prefix
command.
You must have an active source specified for any e-mail
command to work properly.