SMTP C
OMMANDS
MAIL 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.
mail smtpserver {<ip-address>|<name>}
Syntax
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
Example
To specify a mail server at 192.168.0.1, use the command:
awplus(config)#
To specify a mail server that has a hostname of smtp.example.com, use the
command:
awplus(config)#
To remove the configured mail server, use the command:
awplus(config)#
Related
debug mail
Commands
delete mail
mail
mail from
show mail
show counter mail
C613-50170-01 Rev B
Parameter
Description
<ip-address>
Internet Protocol (IP) address for the mail server.
<name>
Domain name (FQDN) for the mail server.
mail smtpserver 192.168.0.1
mail smtpserver smtp.example.com
no mail smtpserver
Command Reference for x510 Series
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
ip domain-lookup
command.
2672