Multi-Tech Systems MTS2SA-T ユーザーズマニュアル

ページ / 181
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-addresscc-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 "<email-id#1>, <email-id#2>" 
-c "<email-id#3>, <email-id#4>" 
-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 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.