smtp

Description                                                    Configure a Simple Mail Transfer Protocol (SMTP) server to use for sending emails from the ACOS device.

Syntax                                                                  [no] smtp 
{
  {hostname | ipaddr} |
  [mailfrom email-src-addr] |
  [needauthentication] |
  [port protocol-port] |
  [username string password string]
}

Parameter

Description

hostname | ipaddr

Specifies an SMTP server.

mailfrom email-src-addr

Specifies the email address to use as the sender (From) address.

needauthentication

Specifies that authentication is required.

This is disabled by default.

port protocol-port

Specifies the protocol port on which the server listens for SMTP traffic.

The default port is 25.

username string
password string

Specifies the username and password required for access. The password can be 1-31 characters long.

Default                                                                No SMTP servers are configured by default. When you configure one, it has the default set­tings described in the table above.

Mode                                                                   Configuration mode

Example                                                            The following command configures the ACOS device to use SMTP server “ourmailsrvr”:

ACOS(config)#smtp ourmailsrvr

Table of Contents

Index

Glossary

-Search-

Back