You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mblaze/man/mmime.1

89 lines
1.8 KiB
Groff

8 years ago
.Dd July 22, 2016
.Dt MMIME 1
.Os
.Sh NAME
.Nm mmime
.Nd encode MIME mails
.Sh SYNOPSIS
.Nm
.Op Fl c | Fl r
<
.Ar message
8 years ago
.Sh DESCRIPTION
.Nm
8 years ago
encodes the standard input into a MIME message.
8 years ago
.Pp
.Nm
generates a
.Sq Li multipart/mixed
mail from standard input,
8 years ago
extending, wrapping, and encoding the header as neccessary,
8 years ago
and replacing body lines looking like
8 years ago
.Pp
8 years ago
.D1 Li # Ns Ar type Pa filename
8 years ago
.Pp
8 years ago
with a MIME part having Content-Type
.Ar type
consisting of the contents of
.Pa filename .
.Pp
The options are as follows:
.Bl -tag -width Ds
.It Fl c
Check mode: don't output anything,
exit with status 1 if MIME-encoding the message is required,
or with status 0 else.
.It Fl r
Raw mode: don't expand MIME parts in the body, generate a
.Sq Li text/plain
message.
.El
8 years ago
.Sh EXIT STATUS
.Ex -std
.Sh SEE ALSO
.Rs
.%A N. Freed
.%A N. Borenstein
.%D November 1996
8 years ago
.%R RFC 2045
.%T Multipurpose Internet Mail Extensions (MIME) Part One: Format of Internet Message Bodies
8 years ago
.Re
.Rs
.%A N. Freed
.%A N. Borenstein
.%D November 1996
8 years ago
.%R RFC 2046
.%T Multipurpose Internet Mail Extensions (MIME) Part Two: Media Types
8 years ago
.Re
.Rs
8 years ago
.%A K. Moore
8 years ago
.%D November 1996
8 years ago
.%R RFC 2047
.%T MIME (Multipurpose Internet Mail Extensions) Part Three: Message Header Extensions for Non-ASCII Text
8 years ago
.Re
.Rs
.%A N. Freed
.%A K. Moore
.%D November 1997
.%R RFC 2231
.%T MIME Parameter Value and Encoded Word Extensions: Character Sets, Languages, and Continuations
.Re
.Rs
.%A P. Resnick (ed.)
.%B Internet Message Format
.%R RFC 5322
.%D October 2008
.Re
8 years ago
.Sh AUTHORS
7 years ago
.An Leah Neukirchen Aq Mt leah@vuxu.org
8 years ago
.Sh LICENSE
.Nm
is in the public domain.
.Pp
To the extent possible under law,
the creator of this work
has waived all copyright and related or
neighboring rights to this work.
.Pp
.Lk http://creativecommons.org/publicdomain/zero/1.0/