Multi-Tech Systems MTS2SA-T User Manual
Page 147

Chapter 13 – SMTP Client
Multi-Tech Systems, Inc. MultiConnect Serial-to-Serial Adapter User Guide (S000354A)
147
Scenario 3 – Sending a Text Email Using
Configuration and Interactive Mode
•
The to-addresses, cc-addresses, and subject taken from the configuration and
•
The message body is entered in interactive mode.
To support this scenario, you must configure the following details in addition to the mandatory
configuration
•
Set subject data of maximum length 255 characters.
Command: set send-mail subject subject data
•
Set to-addresses of maximum length 64 characters.
Command: set send-mail to-address 1
set send-mail to-address 2
•
Set cc-addresses of maximum length 64 characters.
Command: set send-mail cc-address 1
set send-mail cc-address 2
Issue the following command at the serial command prompt: #send-mail
The SMTP session then enters into interactive mode and requests that the message body be entered as
shown in the figure below. After completing the message, type Ctrl+D to end the message.
The email is sent only to pre-configured recipients. The subject is also taken from the configuration.
Notes:
1.
The email is sent to addresses pre-configured using set commands.
2.
At least one address, either the to-address or the cc-address, should be configured
using set commands; otherwise, the SMTP session enters into interactive mode
prompting you to enter the required details.
3. If
the
subject option is not specified or is not pre-configured using set commands, SNMP
enters into interactive mode and requests a subject to be entered.
4. Type
Ctrl+C to quit the email at any given time.