X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=man%2Fmhmail.man;h=c1c8149134023ebef3c7bd3e0abddb4349e8e4a7;hb=702512891eb9936eab9626558387b6d2188d3a2c;hp=261fbc73ec3b65f880465d8730b06a0e7c900b2e;hpb=74d6825e0e5dd0b44ed8438f2dbcc0a1ef3602c7;p=mmh diff --git a/man/mhmail.man b/man/mhmail.man index 261fbc7..c1c8149 100644 --- a/man/mhmail.man +++ b/man/mhmail.man @@ -19,8 +19,16 @@ mhmail \- send or read mail .IR addr ] .RB [ \-subject .IR subject ] +[switches\ for +.I post +\&... | +.RB \-profile +[switches\ for +.I send +\&...]] .RB [ \-version ] -.RB [ \-help ] +.RB [ \-help ] +.RB [ \-debug ] .ad .SH DESCRIPTION .B mhmail @@ -59,6 +67,16 @@ name of the temporary file as its argument to deliver the message to the specified user. .PP The +.B \-profile +switch instructs +.B mhmail +to use +.B send +instead of +.B post +to send the message. This allows use of the user's context and aliases. +.PP +The .B \-subject .I subject switch can be used to specify the @@ -74,15 +92,15 @@ line with the switch. If the standard input has zero length, .B mhmail -will not send the message. You can use the switch +will not send the message and return with status 1. You can use the switch .B \-body \*(lq\*(rq to force an empty message. .PP Normally, addresses appearing as arguments are put in the \*(lqTo:\*(rq field. If the .B \-cc -switch is used, all addresses following it are -placed in the \*(lqcc:\*(rq field. +switch is used, all addresses following it, even if there are +intervening switches, are placed in the \*(lqcc:\*(rq field. .PP By using .B \-from @@ -97,6 +115,22 @@ Naturally, .B post will fill\-in the \*(lqSender:\*(rq header correctly. +.PP +The +.B \-debug +option shows the draft file that would be posted/sent and the command +that would be used to post/send the draft, but does not post or send +it. +.PP +All other switches are passed on to +.B post +if +.B \-profile +is not used, or +.B send +if +.B \-profile +is used. .SH FILES .fc ^ ~ @@ -108,7 +142,7 @@ header correctly. .fi .SH "SEE ALSO" -inc(1), post(8) +inc(1), post(8), send(1) .SH DEFAULTS None @@ -118,4 +152,8 @@ If .B inc is invoked, then .BR inc 's -context changes occur. +context changes occur. With the +.B \-profile +switch, the context of +.B send +is used.