rmemailserver

Use the rmemailserver command to delete the specified email server object.

Syntax

Read syntax diagramSkip visual syntax diagramrmemailserveremail_server_nameemail_server_id

Parameters

email_server_name | email_server_id
(Required) Specifies the name or ID of the email server object to be deleted.

Description

Use this command to delete an existing email server object that describes a remote Simple Mail Transfer Protocol (SMTP) email server. You must specify either the current name or the ID of the object that is returned at creation time. Use the lsemailserver command to obtain this ID.

Note: Email service stops when the last email server is removed. Use the startemail command to reactivate the email and inventory notification function after at least one email server is configured.

An invocation example

rmemailserver email4

The resulting output:

none