about summary refs log tree commit diff
path: root/man/mmime.1
blob: 7565aaeaf78ad953c8cdaf4a29779a5d6a8e4609 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
.Dd July 22, 2016
.Dt MMIME 1
.Os
.Sh NAME
.Nm mmime
.Nd encode MIME mails
.Sh SYNOPSIS
.Nm
.Ar files\ ...
.Sh DESCRIPTION
.Nm
encodes the
.Ar files
given as arguments into a MIME message.
.Pp
If there is more than one file, a
.Sq Li multipart/mixed
mail is generated.
.Pp
With no arguments,
.Nm
generates a
.Sq Li multipart/mixed
mail from standard input,
extending the header as neccessary,
and replacing body lines looking like
.D1 Li # Ns Ar type Pa filename
with a MIME part having Content-Type
.Ar type
consisting of the contents of
.Pa filename .
.Sh EXIT STATUS
.Ex -std
.Sh SEE ALSO
.Rs
.%A N. Freed
.%A N. Borenstein
.%B Multipurpose Internet Mail Extensions (MIME) Part One: Format of Internet Message Bodies
.%R RFC 2045
.%D November 1996
.Re
.Rs
.%A N. Freed
.%A N. Borenstein
.%B Multipurpose Internet Mail Extensions (MIME) Part Two: Media Types
.%R RFC 2046
.%D November 1996
.Re
.Rs
.%A N. Freed
.%A N. Borenstein
.%B MIME (Multipurpose Internet Mail Extensions) Part Three: Message Header Extensions for Non-ASCII Text
.%R RFC 2047
.%D November 1996
.Re
.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/