mblaze/man/mmime.1

82 lines
1.6 KiB
Groff
Raw Normal View History

2016-07-22 19:36:46 +00:00
.Dd July 22, 2016
.Dt MMIME 1
.Os
.Sh NAME
.Nm mmime
.Nd encode MIME mails
.Sh SYNOPSIS
.Nm
.Op Fl c | Fl r
2016-08-02 12:01:05 +00:00
<
.Ar message
2016-07-22 19:36:46 +00:00
.Sh DESCRIPTION
.Nm
2016-08-02 11:50:47 +00:00
encodes the standard input into a MIME message.
2016-07-22 19:36:46 +00:00
.Pp
.Nm
generates a
.Sq Li multipart/mixed
mail from standard input,
2016-08-02 11:50:47 +00:00
extending, wrapping, and encoding the header as neccessary,
2016-07-22 19:36:46 +00:00
and replacing body lines looking like
2016-07-29 10:53:51 +00:00
.Pp
2016-07-22 19:36:46 +00:00
.D1 Li # Ns Ar type Pa filename
2016-07-29 10:53:51 +00:00
.Pp
2016-07-22 19:36:46 +00:00
with a MIME part having Content-Type
.Ar type
consisting of the contents of
.Pa filename .
2016-08-02 12:01:05 +00:00
.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.
2016-08-02 12:01:05 +00:00
.It Fl r
Raw mode: don't expand MIME parts in the body, generate a
.Sq Li text/plain
message.
.El
2016-07-22 19:36:46 +00:00
.Sh EXIT STATUS
.Ex -std
.Sh SEE ALSO
.Rs
.%A N. Freed
.%A N. Borenstein
.%D November 1996
2016-07-29 10:53:51 +00:00
.%R RFC 2045
.%T Multipurpose Internet Mail Extensions (MIME) Part One: Format of Internet Message Bodies
2016-07-22 19:36:46 +00:00
.Re
.Rs
.%A N. Freed
.%A N. Borenstein
.%D November 1996
2016-07-29 10:53:51 +00:00
.%R RFC 2046
.%T Multipurpose Internet Mail Extensions (MIME) Part Two: Media Types
2016-07-22 19:36:46 +00:00
.Re
.Rs
2016-07-29 10:53:51 +00:00
.%A K. Moore
2016-07-22 19:36:46 +00:00
.%D November 1996
2016-07-29 10:53:51 +00:00
.%R RFC 2047
.%T MIME (Multipurpose Internet Mail Extensions) Part Three: Message Header Extensions for Non-ASCII Text
2016-07-22 19:36:46 +00:00
.Re
2016-08-02 14:51:04 +00:00
.Rs
.%A P. Resnick (ed.)
.%B Internet Message Format
.%R RFC 5322
.%D October 2008
.Re
2016-07-22 19:36:46 +00:00
.Sh AUTHORS
.An Christian Neukirchen Aq Mt chneukirchen@gmail.com
.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/