The rmemailserver command deletes the
specified e-mail server object.
Syntax

>>- svctask -- -- rmemailserver -- --+- email_server_name -+---><
'- email_server_id ---'
Parameters
- email_server_name | email_server_id
- (Required) Specifies the name or ID of the e-mail server object
to be deleted.
Description
Use
this command to delete an existing e-mail server object
that describes a remote Simple Mail Transfer Protocol (SMTP) e-mail
server. You must specify either the current name or the ID of the
object returned at creation time. Use the svcinfo lsemailserver command
to obtain this ID.
Note: E-mail service stops when the last e-mail
server is removed. Use the svctask startemail command
to reactivate the e-mail and inventory notification function after
at least one e-mail server has been configured.
An invocation example
svctask rmemailserver email4
The
resulting output
none