User Manual

4.19.1 SMTP e-mail server settings
[Syntax]
mail server smtp id host host [
port port] [encrypt method] [auth username password]
no mail server smtp id
[Keyword]
port : Specifying a port number for the e-mail server
encrypt : Specifying an encryption method
auth : Specifying the account information to use for SMTP authentication
[Parameter]
id : <1-10>
Mail server ID
host : Mail server address or host name
IPv4 address (A.B.C.D), IPv6 address (X:X::X:X)
When specifying an IPv6 link local address, the transmitting interface also needs to be specified (in
fe80::X%vlanN format).
Host name (64 characters or less, Single-byte alphanumeric characters - . and :)
port : <1-65535>
Port number for e-mail server (this is 25 when omitted, and 465 when over-ssl is specified as method)
method : Encryption method
Setting value Description
over-ssl Encrypting communication ( over SSL )
starttls Encrypting communication ( STARTTLS )
username : User name used for SMTP authentication
(64 characters or less, ? " | > and aingle-byte alphanumeric characters and symbols other than spaces)
password : Passwords used for SMTP authentication
(64 characters or less,? " | > and aingle-byte alphanumeric characters and symbols other than spaces)
[Initial value]
none
[Input mode]
global configuration mode
[Description]
Sets server information used when sending e-mails.
[Note]
When performing SMTP authentication, the AUTH LOGIN command is used for authentication.
For the SSL/TLS version, TLSv1, TLSv1.1 and TLSv1.2 are supported.
When setting an IPv6 address as the e-mail server address, encryption using SSL/TLS cannot be used.
[Example]
Sets the e-mail transmission server to “smtp-server-test.com”.
SWR2311P(config)#mail server smtp 1 host smtp-server-test.com
Specify “smtp-server-test2.com” as the e-mail transmission server, and configures settings for using encryption and SMTP
authentication.
SWR2311P(config)#mail server smtp 1 host smtp-server-test2.com encrypt over-ssl auth
test_user test_password
84 | Command Reference | Maintenance and operation functions