Administrator Guide

Security Commands 915
logging email test message-type
Use the logging email test message-type command in Global Configuration
mode to test whether or not an e-mail is being sent to an SMTP server.
Syntax
logging email test message-type message-type message-body message-body
message-type—Urgent, non-urgent, or both
message-body
The message to log. Enclose the message in double quotes if it
contains any spaces.
Default Configuration
This command has no default configuration.
Command Mode
Global Configuration
User Guidelines
This command has no user guidelines.
Example
console(config)#logging email test message-type urgent message-body
urgentlog
Command History
Example added in the 6.4 release.
show logging email statistics
Use the show logging email statistics command to show the statistics about
the e-mails. The command displays information on how many e-mails are
sent, how many e-mails failed, how long it has been since the last e-mail was
sent.
Syntax
show logging email statistics