C613-50170-01 Rev B
Command Reference for x510 Series
2672
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
SMTP C
OMMANDS
SMTPSERVER
mail smtpserver
Overview
This command specifies the IP address or domain name of the SMTP server that
your device sends email to. You must specify a mail server with this command
before you can send any email.
Syntax
mail smtpserver {<
ip-address
>|<
name
>}
no mail smtpserver
Mode
Global Configuration
Usage
If you specify the server by specifying its domain name, you must also ensure that
the DNS client on your device is enabled. It is enabled by default but if it has been
disabled, you can re-enable it by using the
command.
Example
To specify a mail server at 192.168.0.1, use the command:
awplus(config)#
mail smtpserver 192.168.0.1
To specify a mail server that has a hostname of smtp.example.com, use the
command:
awplus(config)#
mail smtpserver smtp.example.com
To remove the configured mail server, use the command:
awplus(config)#
no mail smtpserver
Related
Commands
Parameter
Description
<
ip-address
>
Internet Protocol (IP) address for the mail server.
<
name
>
Domain name (FQDN) for the mail server.