
Chapter 10 – SMTP Client
Command Line Interface and Application Examples for Multi-Tech Systems, Inc. IP Modules (S000368F) 111
Scenario 8 – Sending a Mime Encoded Binary
Email with Attachment Using Interactive
Mode
Issue the following command: send-mail -b
The SMTP session then enters into interactive mode requesting the to-address, the cc-address, subject, and
message body to be entered. After completion of the message, type Ctrl+D to end the message.
The SMTP session 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 is displayed asking whether to continue with one
more attachment. Type n for No. The email with its attachment is sent only to the entered to-addresses (if any) and
cc-addresses (if any). The subject and message body are used as entered in the interactive mode.
Notes
1. The email is sent only to addresses entered in interactive mode.
2. If the subject is pre-configured using set commands, it will be used as the subject for the email.
3. Type Ctrl+C to quit the email at any given time.
4. 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.
Comentarios a estos manuales