From cc7ab258141f91e49d66cde589f26e2e94d9e516 Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Mon, 19 Jun 2017 13:24:49 +0200 Subject: mmime: allow setting content-disposition and overriding filename --- man/mmime.1 | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'man/mmime.1') diff --git a/man/mmime.1 b/man/mmime.1 index c772166..abca61d 100644 --- a/man/mmime.1 +++ b/man/mmime.1 @@ -21,12 +21,18 @@ mail from standard input, extending, wrapping, and encoding the header as neccessary, and replacing body lines looking like .Pp -.D1 Li # Ns Ar type Pa filename +.D1 Li # Ns Ar content Ns Li / Ns Ar type Ns Oo Ns Li # Ns Ar content-disposition Oc Pa path Ns Oo Li > Ns Ar filename Oc .Pp with a MIME part having Content-Type -.Ar type +.Ar content/type consisting of the contents of -.Pa filename . +.Pa path . +.Ar content-disposition +is optional and defaults to +.Sq attachment . +.Ar filename +is optional and defaults to the basename of +.Ar path . .Pp The options are as follows: .Bl -tag -width Ds -- cgit 1.4.1