Multi-Tech Systems MTS2SA-T User Manual
Page 150

Chapter 13 – SMTP Client
Multi-Tech Systems, Inc. MultiConnect Serial-to-Serial Adapter User Guide (S000354A)
150
Scenario 6 – Sending a Mime Encoded Binary
Attachment Using the Command Prompt
• The to-address, cc-address, and subject are entered through the command prompt
• The message body is entered in the Interactive Mode
Issue the following command:
send-mail
-b
-t "
-c "
-s "subject data"
The SMTP session then enters into interactive mode requesting the message body as shown in the
figure to be entered. After entering the message, type Ctrl+D to end the message.
The SMTP session then enters into interactive mode requesting media-type, media-subtype, filename,
filesize, and the attachment body as shown in the figure.
When the attachment body reaches the filesize, another message displays asking whether to continue
with one more attachment as shown in the figure. Type n for No. The email with its attachment is sent
only to the to-addresses (if any) and cc-addresses (if any) entered from the command prompt. The
subject is taken from the command prompt.
Notes:
1.
The email is not sent to addresses pre-configured using set commands.
2.
At least one address, either to-address or cc-address, should be given as an option to the
command prompt.
3.
If the subject option is not specified and is not configured using set commands, SMTP enters into
interactive mode and requests the subject to be entered.
4.
Type Ctrl+C to quit the email at any given time.
5.
If the host wants to quit the email while sending the binary attachment body, type Ctrl+C and wait
for 3 seconds without entering any character to quit the email.