1.$ MAIL
MAIL> SEND
To: in%"mailserv@example.com"
Subj:
Enter your message below. Press CTRL/Z when complete, or CTRL/C to quit:
SEND [FONTS]README.TXT
<CTRL/Z>
MAIL> EXIT
$
In this example, a simple request with a single command is sent
to the mail server mailserv@example.com. This single command
requests that the file [FONTS]README.TXT be sent.
2.$ MAIL
MAIL> SEND
To: in%"mailserv@example.com"
Subj:
Enter your message below. Press CTRL/Z when complete, or CTRL/C to quit:
MAXIMUM BYTES 10240
SEND/MODE=BLOCK/ENCODING=BASE64 [FONTS]ADOBE35.PFB-Z
<CTRL/Z>
MAIL> EXIT
$
In this example, a large binary file is being requested. The
/MODE and /ENCODING qualifiers are used to request that the
file be interpreted as raw binary data and sent in an encoded
format. The MAXIMUM command is used to fragment the encoded
file into several small messages, each no larger than 10K
(10,240 bytes).