logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

mmime — create MIME messages

Authors

       Leah Neukirchen <leah@vuxu.org>

Description

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.

       -tcontent-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.

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/

Debian                                            July 22, 2016                                         MMIME(1)

Name

       mmime — create MIME messages

See Also

makemime(1), mhbuild(1)

       N.  Freed  and  N.  Borenstein, MultipurposeInternetMailExtensions(MIME)PartOne:FormatofInternetMessageBodies, RFC 2045, November 1996.

       N. Freed and N. Borenstein, MultipurposeInternetMailExtensions(MIME)PartTwo:MediaTypes, RFC 2046,
       November 1996.

       K. Moore, MIME(MultipurposeInternetMailExtensions)PartThree:MessageHeaderExtensionsforNon-ASCIIText, RFC 2047, November 1996.

       N.  Freed  and K. Moore, MIMEParameterValueandEncodedWordExtensions:CharacterSets,Languages,andContinuations, RFC 2231, November 1997.

       P. Resnick (ed.), InternetMessageFormat, RFC 5322, October 2008.

Synopsis

mmime [-c | -r] [-tcontent-type] < message

See Also