X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=man%2Fmhmail.man1;h=78567d87cb7c5b684bf15119d2de8fe9172267a9;hb=7cf0c30b2e1364bfb9633638dbdaf5c924191520;hp=ce298d7f740d43867282a90617476b7a0c869e27;hpb=32b2354dbaf4bf934936eb5b102a4a3d2fdd209a;p=mmh diff --git a/man/mhmail.man1 b/man/mhmail.man1 index ce298d7..78567d8 100644 --- a/man/mhmail.man1 +++ b/man/mhmail.man1 @@ -9,14 +9,14 @@ mhmail \- send mail .na .B mhmail .IR addrs ... -.RB [ \-body -.IR text ] .RB [ \-cc .IR addrs ...] .RB [ \-from .IR addr ] .RB [ \-subject .IR subject ] +.RB [ \-bodytext +.IR text ] .RB [ \-Version ] .RB [ \-help ] .ad @@ -64,35 +64,42 @@ The .B \-subject .I subject switch can be used to specify the -\*(lqSubject:\*(rq field of the message. +`Subject:' field of the message. .PP By default, .B mhmail will read the message to be sent from the -standard input. You can specify the text of the message at the command +standard input. +The message is terminated by either end-of-file or by a single period +alone on a line. This is compatible to +.B mail +and +.BR mailx . +Alternatively, you can specify the text of the message at the command line with the -.B \-body +.B \-bodytext .I text -switch. If the standard input has zero -length, +switch. +.PP +If the standard input has zero length, .B mhmail -will not send the message. You can use the switch -.B \-body -\*(lq\*(rq to force an empty message. +will not send the message. You can use +.B \-bodytext +"" to force an empty message. .PP -Normally, addresses appearing as arguments are put in the \*(lqTo:\*(rq +Normally, addresses appearing as arguments are put in the `To:' field. If the .B \-cc switch is used, all addresses following it are -placed in the \*(lqCc:\*(rq field. +placed in the `Cc:' field. .PP By using .B \-from .IR addr , -you can specify the \*(lqFrom:\*(rq header of +you can specify the `From:' header of the draft. Naturally, .B post -will fill\-in the \*(lqSender:\*(rq +will fill\-in the `Sender:' header correctly. .SH FILES