chemailuser

The chemailuser command modifies the settings that are defined for an e-mail recipient.

Syntax

Read syntax diagramSkip visual syntax diagram
>>- svctask -- -- chemailuser -- ------------------------------->

>--+----------------------------+-- ---------------------------->
   '- -address -- user_address -'      

>--+---------------------------+-- --+---------------------+---->
   '- -usertype --+- support +-'     |           .- on --. |   
                  '- local --'       '- -error --+- off -+-'   

>-- --+-----------------------+-- --+--------------------+-- --->
      |             .- on --. |     |          .- on --. |      
      '- -warning --+- off -+-'     '- -info --+- off -+-'      

>--+----------------------+-- --+-------------------------+----->
   '- -name -- user_name -'     |               .- on --. |   
                                '- -inventory --+- off -+-'   

>-- --userid_or_name-------------------------------------------><

Parameters

-address user_address
(Optional) Specifies the e-mail address of the person receiving the e-mail or inventory notifications, or both. The user_address value must be unique.
-usertype support | local
(Optional) Specifies the type of user, either local or support, based on the following definitions:
support
Address of the support organization that provides vendor support.
local
All other addresses.
-error on | off
(Optional) Specifies whether the recipient receives error-type event notifications. Set to on, error-type event notifications are sent to the e-mail recipient. Set to off, error-type event notifications are not sent to the recipient.
-warning on | off
(Optional) Specifies whether the recipient receives warning-type event notifications. Set to on, warning-type event notifications are sent to the e-mail recipient. Set to off, warning-type event notifications are not sent to the recipient.
-info on | off
(Optional) Specifies whether the recipient receives informational event notifications. Set to on, informational event notifications are sent to the e-mail recipient. Set to off, informational event notifications are not sent to the recipient.
-name user_name
(Optional) Specifies the user name of the new e-mail event notification recipient. The user_name value must be unique, must not contain spaces, and must not contain all numbers. The name emailusern, where n is a number, is reserved and cannot be specified as one of your user names.
-inventory on | off
(Optional) Specifies whether this recipient receives inventory e-mail notifications.
userid_or_name
(Required) Specifies the e-mail recipient for whom you are modifying settings.

Description

This command modifies the settings that are established for an e-mail recipient. Standard rules regarding names apply; therefore, it is not possible to change a name to emailusern, where n is a number.

Note: Before the usertype parameter can be set to support, the -warning and -info flags must be set to off.

An invocation example

The following example modifies e-mail settings for e-mail recipient manager2008:

svctask chemailuser -usertype local manager2008

The resulting output

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