4 .TH MHMAIL %manext1% "%nmhdate%" MH.6.8 [%nmhversion%]
6 mhmail \- send or read mail
35 is intended as a replacement for the standard Berkeley
40 which is compatible with
42 This program is intended for the use of programs such as
44 which expect to send mail automatically to various
45 users. It is also used by various
47 commands to mail various
48 error notifications. Although
50 can be used interactively,
51 it is recommended that
55 be used instead to send messages.
57 When invoked without arguments, it simply invokes
59 to incorporate new messages from the user's maildrop. When one or more users
60 is specified, a message is read from the standard input and spooled to
66 name of the temporary file as its argument to deliver the message to
77 to send the message. This allows use of the user's context and aliases.
82 switch can be used to specify the
83 \*(lqSubject:\*(rq field of the message.
87 will read the message to be sent from the
88 standard input. You can specify the text of the message at the command
92 switch. If the standard input has zero
95 will not send the message and return with status 1. You can use the switch
97 \*(lq\*(rq to force an empty message.
99 Normally, addresses appearing as arguments are put in the \*(lqTo:\*(rq
102 switch is used, all addresses following it, even if there are
103 intervening switches, are placed in the \*(lqcc:\*(rq field.
108 you can specify the \*(lqFrom:\*(rq header of
111 switch is used when sending,
113 will supply a \*(lqFrom:\*(rq header field using the sender's local mailbox.
116 will fill\-in the \*(lqSender:\*(rq
121 option shows the draft file that would be posted/sent and the command
122 that would be used to post/send the draft, but does not post or send
125 All other switches are passed on to
138 .ta \w'%etcdir%/ExtraBigFileName 'u
139 ^%bindir%/inc~^Program to incorporate maildrop into folder
140 ^%libdir%/post~^Program to deliver a message
141 ^/tmp/mhmail*~^Temporary copy of message
145 inc(1), post(8), send(1)
155 context changes occur. With the
157 switch, the context of