SET ALERTEMAILSMTPHOST (Set the SMTP mail server host name)
Use this command to specify the Simple Mail Transfer Protocol (SMTP) mail server host name that is used to send the alert email.
Privilege class
To issue this command, you must have system privilege.
Parameters
- host_name (Required)
- Specifies the SMTP mail server host name.
Specify the host name for the SMTP mail server as mail.domain.com
Specify mail.domain.com as
the SMTP mail server, by issuing the following command:
set alertemailsmtphost mail.domain.com
Related commands
Command | Description |
---|---|
SET ALERTEMAIL (Set the alert monitor to email alerts to administrators) | Enables alerts to be sent by email to specified administrators. |
SET ALERTEMAILFROMADDR (Set the email address of the sender) | Specifies the email address of the alert sender. |
SET ALERTEMAILSMTPPORT (Set the SMTP mail server host port) | Specifies the SMTP mail server port that is used to send alerts by email. |
SET ALERTSUMMARYTOADMINS (Set the list of administrators to receive alert summaries by email ) | Specifies the administrators that want to receive alert summaries by email. |