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

ページ / 181
Chapter 13 – SMTP Client 
Multi-Tech Systems, Inc. MultiConnect Serial-to-Serial Adapter User Guide (S000354A) 
149
 
 
Scenario 5 – Sending a Mime Encoded Binary 
Attachment Using Command Prompt 
 
The email addresses, subject, and message body are taken from the command prompt. 
Issue the following command:  
send-mail 
-b 
-t "<email-id #1>, <email-id #2>" 
-c "<email-id #3>, <email-id #4>" 
-s "subject data" 
-d "Message body" 
The SMTP session then enters into interactive mode requesting media-type, media-subtype, filename, 
filesize, and the attachment body as shown in this figure.  
 
When the attachment body reaches the filesize, another message is displayed asking whether to continue 
with one more attachment as shown in 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 
and message body are also 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 the to-address or the cc-address, should be given as an alternative  
to sending email directly from command prompt.  
3.
  If the subject option is not specified and is not configured using set commands, SMTP enters into 
interactive mode requesting 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.