mmime(1)

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.

  1. 10
  2. 11–13

Authors

Leah Neukirchen ⟨[email protected]⟩

License

mmime is in the public domain.

To the extent possible under law, the creator of this work has waived all copyright and related or neighboring rights to this work.

http://creativecommons.org/publicdomain/zero/1.0/

From mblaze 1.1-1 in Debian 13 (Trixie). Parsed by carta from the page's mdoc source.