X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;ds=sidebyside;f=man%2Fmhmail.man;h=3b382af276f1bfdb290990fb87d0edbd0830f4f2;hb=26d1d48706344c9311fe19f3691e5c0a230da710;hp=3abd6d3b049be279b34c6e3d7cf26cb5f40581ff;hpb=3b0fc690e5b096f17cedb923471cad4a11cc23d5;p=mmh diff --git a/man/mhmail.man b/man/mhmail.man index 3abd6d3..3b382af 100644 --- a/man/mhmail.man +++ b/man/mhmail.man @@ -10,6 +10,8 @@ mhmail \- send or read mail .B mhmail .RI [ addrs \&...] +.RB [ \-attach +.IR file ] .RB [ \-body .IR text ] .RB [ \-cc @@ -143,6 +145,14 @@ recipient@example.com .fi .RE .PP +Note about this example: the +.B \-attach +switch causes +.I MIME-Version +and +.I Content-Type +headers to be added to the message. +.PP The .B \-profile switch instructs @@ -154,6 +164,22 @@ instead of to send the message. This allows use of the user's context and aliases. .PP The +.B \-attach +.I file +switch attaches the specified file to the message. Use of +.B \-attach +enables +.B \-profile +because +.B mhmail +uses +.B send +to handle the attachment. It is usually best to enclose the argument +in quotes to protect it from the shell. The +.B \-attach +switch may be given multiple times to add multiple attachments. +.PP +The .B \-nosend option shows the draft file that would be posted/sent on the command's standard output but does not post or send it. @@ -186,7 +212,12 @@ is used. dist(1), inc(1), post(8), send(1) .SH DEFAULTS +.nf .RB ` \-send ' +.fi +.RB ` \-profile' , +enabled by default only with +.B \-attach .SH CONTEXT If