beautypg.com

Mail from, Mail smtpserver, Mail from mail smtpserver – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual

Page 1983

background image

SMTP Commands

Software Reference for x310 Series Switches

C613-50046-01 REV A

AlliedWare Plus

TM

Operating System - Version 5.4.4C

72.5

mail from

This command sets an email address for the “mail from” SMTP command. You must specify
a sending email address with this command before you can send any email.

Syntax

mail from <from>

Mode

Global Configuration

Example

To set the email address you are sending mail from to “[email protected], use the command:

Related Commands

delete mail
mail
mail smtpserver
show mail

mail smtpserver

This command sets the IP address 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>

Mode

Global Configuration

Example

To specify a mail server at 192.168.0.1, use the command:

Related Commands

debug mail
delete mail
mail
mail from
show mail
show counter mail

Parameter

Description

<from>

The email address that the mail is sent from.

awplus(config)#

mail from [email protected]

Parameter

Description

<ip-address>

Internet Protocol (IP) Address for the mail server specified.

awplus#

mail smtpserver 192.168.0.1