Mail - Allied Telesis x310-26FT Command Reference Manual

X310 series stackable access switches for alliedware plus version 5.4.6-1.x
Table of Contents

Advertisement

SMTP C
OMMANDS

MAIL

mail
Overview
This command sends an email using the SMTP protocol. If you specify a file the text
inside the file is sent in the message body.
If you do not specify the to, file, or subject parameters, the CLI prompts you for the
missing information.
Before you can send mail using this command, you must specify the sending email
address using the
command.
mail [{to <to>|subject <subject>|file <filename>}]
Syntax
Mode
Privileged Exec
To send an email to rei@nerv.comwith the subject dummy plug
Example
configuration, and with the message body inserted from the file
plug.conf use the command:
awplus#
filename plug.conf
Related
debug mail
Commands
delete mail
mail from
mail smtpserver
show mail
show counter mail
C613-50103-01 REV A
mail from
Parameter
Description
to
The email recipient.
<to>
subject
Description of the subject of this email. Use quote marks when the
subject text contains spaces.
<subject>
file
File to insert as text into the message body.
<filename> String.
mail rei@nerv.com subject dummy plug configuration
Command Reference for x310 Series
AlliedWare Plus™ Operating System - Version 5.4.6-1.x
command and a mail server using the
Email address.
String.
mail smtpserver
2374

Advertisement

Table of Contents
loading

This manual is also suitable for:

X310-26fpX310-50fpX310-50ft

Table of Contents