setsmtp

The setsmtp DS6000 command modifies the storage image Simple Mail Transport Protocol (SMTP) and activates the e-mail notification settings.

Read syntax diagramSkip visual syntax diagram
>>-setsmtp--+--------------------------------------+------------>
            '- -server--smtp_server_IP:port_number-'   

>--+------------------------+--storage_image_ID----------------><
   '- -emailnotify--+-on--+-'                     
                    '-off-'                       

Parameters

Note: You can view the changes of a processed setsmtp command by issuing the showplex command.
 -server smtp_server_IP:port_number . . .
(Optional) Specifies the SMTP port and IP address where a message is sent in the event of a problem. You must separate the IP address and the port with a colon. Do not include blank spaces.
Example: 9.11.242.56:500
 -emailnotify on | off
(Optional) Specifies that an e-mail notification be sent to the e-mail address that is specified by the setcontactinfo command with the -contactemail parameter.
Note: Before you process the setsmtp command with this parameter, run the showcontactinfo command to ensure that a contact e-mail address has been defined. If a contact e-mail address has not been defined, process the setcontactinfo command with the -contactemail parameter to allow you to receive notifications.
storage_image_ID
(Required) Specifies the storage image ID. A storage image ID consists of the values associated with the manufacturer, machine type, and serial number.

Example

Invoking the setsmtp command
dscli>setsmtp –server 9.11.242.12:500 IBM.1750-68FA120
The resulting output
Date/Time: Sun Aug 11 02:23:49 PST 2004 DS CLI Version: 5.0.0.0 
DS: IBM.1750-68FA120

The SMTP settings were successfully modified
Related tasks
Setting up Call Home (SMTP) notifications using the DS CLI
Related reference
setplex
showplex
setdialhome
setsnmp
setsim
setcontactinfo
showcontactinfo
testcallhome
Library | Support | Terms of use | Feedback
© Copyright IBM Corporation 2004, 2007. All Rights Reserved.