testemail

The testemail command allows you to send an e-mail notification to one user of the e-mail notification function or to all users of the e-mail notification function to ensure that the function is operating correctly.

Syntax

Read syntax diagramSkip visual syntax diagram
>>- svctask -- -- testemail --+-userid_or_name-+---------------><
                              '- -all----------'   

Parameters

userid_or_name
(Required if you do not specify -all) Specifies the user ID or user name of the e-mail recipient that you want to send a test e-mail to. You cannot use this parameter with the -all parameter. The userid_or_name value must not contain spaces.
-all
(Required if you do not specify userid_or_name) Sends a test e-mail to all e-mail users configured to receive notification of events of any notification type. No attempt is made to send the test e-mail to an e-mail user who does not have any notification setting set to on.

Description

This command sends test e-mails to the specified e-mail users. The e-mail recipient expects to receive the test e-mail within a specified service time. If the e-mail is not received within the expected time period, the recipient must contact the administrator to ensure that the e-mail settings for the user are correct. If there is still a problem, you must contact the IBM® Support Center.

The e-mail recipient uses the test e-mail to check that the SMTP name, the IP address, the SMTP port, and the user address are valid.

An invocation example

The following example sends a test e-mail to the user ID manager2008:

svctask testemail manager2008

The resulting output

[No feedback]
Library | Support | Terms of use | Feedback
© Copyright IBM Corporation 2003, 2009. All Rights Reserved.