Command Line Interface
4-52
4
Command Usage
You can specify up to five recipients for alert messages. However, you must
enter a separate command to specify each recipient.
Example
logging sendmail
This command enables SMTP event handling. Use the no form to disable this
function.
Syntax
[no] logging sendmail
Default Setting
Enabled
Command Mode
Global Configuration
Example
show logging sendmail
This command displays the settings for the SMTP event handler.
Command Mode
Normal Exec, Privileged Exec
Example
Console(config)#logging sendmail destination-email ted@this-company.com
Console(config)#
Console(config)#logging sendmail
Console(config)#
Console#show logging sendmail
SMTP servers
-----------------------------------------------
192.168.1.19
SMTP minimum severity level: 7
SMTP destination email addresses
-----------------------------------------------
ted@this-company.com
SMTP source email address: bill@this-company.com
SMTP status: Enabled
Console#