Mhn has a number of other facilities for manipulating MIME messages.
Detailed information about how to use the facilities can be found in the
mhn(1) manual page; here is a brief list of some of them:
- Splitting large messages.
- MIME permits a message to be split among several separate messages.
The send -split option automatically splits a message.
The mhn -store option can be used to reassemble a split message.
(Split messages, each of which are partial messages,
are those using the MIME type message/partial.)
- Retrieving external body parts.
- Some examples of external bodies have been given in section
.
More examples are given in section
.
There are several different ways to refer to and to retrieve external body parts.
One alternative, using mail server references, is explained
in section
.
- Sending file sets.
- There is a script, viamail, available in the MH library directory,
which sends a set of files via e-mail. The files are automatically
archived into a compressed UNIX tar file format (.tar.Z) and
transported in a MIME message (or in several messages, split automatically,
if the archive is large).
The mhn -store option is also capable of extracting the files from
such MIME messages.
- Encoding and extracting arbitrary data.
- The MIME ``base64'' encoding format is a fairly safe way to transport
data (such as shell scripts and program binaries) through mail gateways.
By specifying the application/octet-stream type when composing
a message, mhn will encode in base64 any file you specify.
MIME-capable user agents should be able to decode that file.
In MH, mhn -store can be used to decode an
application/octet-stream message part encoded in base64.
- Setting up to use less.
- Mhn will use the less pager program instead of more
if you so specify in the moreproc: profile entry.
Some additional environment setup is required, as described in the
mhn(1) manual page.