The mkemailuser command
adds a recipient of e-mail event and inventory notifications to the
e-mail event notification facility. You can add up to twelve recipients,
one recipient at a time.
Syntax

>>- svctask -- -- mkemailuser -- --+----------------------+----->
'- -name -- user_name -'
>-- -- -address -- user_address -- ----------------------------->
>-- -usertype --+- support +-- --+---------------------+-- ----->
'- local --' | .- on --. |
'- -error --+- off -+-'
>--+-----------------------+-- --+--------------------+-- -- --->
| .- on --. | | .- on --. |
'- -warning --+- off -+-' '- -info --+- off -+-'
>--+-------------------------+---------------------------------><
| .- on --. |
'- -inventory --+- off -+-'
Parameters
- -name user_name
- (Optional) Specifies the name of the person who is the recipient
of e-mail event notifications. The user_name value
must be unique, must not contain spaces, and must not contain only
numbers. If you do not specify a user name, the system automatically
assigns a user name in the format of emailusern, where n is
a number beginning with 0 (emailuser0, emailuser1, and so on).
- The name emailusern, where n is
a number, is reserved and cannot be used as one of your user names.
- -address user_address
- (Required) Specifies the e-mail address of the person
receiving the e-mail event or inventory notifications, or both. The user_address value
must be unique.
- -usertype support| local
- (Required) Specifies the type of user, either customer 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. The
default value is on.
- -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. The
default value is on.
- -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. The
default value is on.
- -inventory on | off
- (Optional) Specifies whether this recipient receives inventory
e-mail notifications. The default value is off.
Description
This command adds e-mail recipients to the e-mail event
and inventory notification facility. You can add up to twelve recipients,
one recipient at a time. When an e-mail user is added, if a user name
is not specified, a default name is allocated by the system. This
default name has the form of emailuser1, emailuser2,
and so on. E-mail notification starts when you process the startemail command.
Note: Before the usertype parameter
can be set to support, the -warning and -info flags
must be set to off.
An invocation example
svctask mkemailuser -address manager2008@ibm.com -error on -usertype local
The
resulting output
email user, id [2], successfully created