Top
ETERNUS SF Storage Cruiser 14.0 User's Guide

E.2 Command Format

The format of the stxsmail command is described.


SYNOPSIS

stxsmail [-v] [-l LogFile] [-p PortNo] [-t Timeout] MailServer MailFile

OPTIONS

-v

This sets Verbose (redundant) mode.

Specifying this option outputs different types of information to standard output during stxsmail execution.

The option is mainly used for debugging, such as to find the cause of a failure.

-l LogFile

Specify a log file name.

If this option is specified, the execution status of this program is recorded in the specified log file.

The option is mainly used for debugging, such as to find the cause of a failure.

The information recorded in the log file is the same as the information output to standard output by specifying -v option.

-p PortNo

Specify an SMTP port number.

Generally, the SMTP port number is set to 25, but if the SMTP port number of a destination mail server is not 25, specify the SMTP port number of the mail server.

-t Timeout

Specify a timeout value for communication with the mail server. Specify a time in seconds in a range of 1 to 65535.

The default value of this option is 60 seconds.

Specify this option only if required.

MailServer

Specify the server node name (FQDN) or IP address of the mail server.

This parameter cannot be omitted.

MailFile

Specify a mail file to be sent.

This parameter cannot be omitted.