X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=man%2Fsend.man;h=57f37b7c9a75aae36dcb40fb0db27e23027a598d;hp=65a5d1e32930222cbc54205d58003152bfc7cfcb;hb=5ff96d61ee5af34956ae958a0bc72ee78734a4d7;hpb=fb49dd82ec42997b9df97f221c920f6596102c0a diff --git a/man/send.man b/man/send.man index 65a5d1e..57f37b7 100644 --- a/man/send.man +++ b/man/send.man @@ -42,6 +42,8 @@ send \- send a message .RB [ \-help ] .RB [ \-attach .IR header-field-name ] +.RB [ \-attachformat +.IR 0 " | " 1 " | " 2 ] .ad .SH DESCRIPTION .B Send @@ -101,6 +103,44 @@ Finally, a description attribute is generated by running the .I file command on the file. .PP +The +.B -attachformat +option specifies the MIME header field formats: a value of +.B 0, +the default, +includes the +.I x-unix-mode +attribute as noted above. A value of +.B 1 +suppresses both that and the \*(lqContent-Description\*(rq header, and +adds a \*(lqContent-Disposition\*(rq header. A value of +.B 2 +adds the file +.I modification-date +parameter to the \*(lqContent-Disposition\*(rq header. You can +specify one value in your profile, and override it for individual +messages at the +.I whatnow +prompt. +.PP +Here are example message part headers for each of the +.B -attachformat +values: +.PP +.nf +-attachformat 0: +Content-Type: text/plain; name="VERSION"; x-unix-mode="0644"; +Content-Description: ASCII text + +-attachformat 1: +Content-Type: text/plain; charset="us-ascii" +Content-Disposition: attachment; filename="VERSION" + +-attachformat 2: +Content-Type: text/plain; charset="us-ascii" +Content-Disposition: attachment; filename="VERSION"; modification-date="Mon, 19 Dec 2005 22:39:51 -0600" +.fi +.PP If .B \-push is specified, @@ -350,6 +390,7 @@ comp(1), dist(1), forw(1), repl(1), mh\-alias(5), post(8) .RB ` \-noverbose ' .RB ` \-nowatch ' .RB ` "\-width\ 72" ' +.RB ` "\-attachformat\ 0" ' .fi .SH CONTEXT