mmime1
Create mime messages
Usage
mmime [{-c | -r}]
[-t
content-type]
<
message
Overview
mmime generates a ‘multipart/mixed’ message from the standard input, extending, wrapping, and encoding the header as necessary, and replacing lines in the message body of the form
#content/type[#content-disposition] path[>filename]
with a MIME part having Content-Type content/type, consisting of the contents of the file found at path. content-disposition is optional and defaults to ‘attachment’. filename is optional and defaults to the basename of path.
The options are as follows:
-
-c -
Check mode: don't output anything, exit with status 1 if MIME-encoding the message is required, or else exit with status 0.
-
-r -
Raw mode: don't expand MIME parts in the body, generate a ‘text/plain’ message.
-
-t content-type -
Override Content-Type for the toplevel part. Defaults to ‘multipart/mixed’.
Exit status
The mmime utility exits 0 on success, and >0 if an error occurs.
Releases
4 releases since Debian 10 (Buster); the text changed 1 time.