10 date 90.04.05.15.13.18; author sources; state Exp;
15 date 90.03.22.11.31.25; author sources; state Exp;
20 date 90.03.20.19.42.04; author sources; state Exp;
25 date 90.03.20.17.36.20; author sources; state Exp;
30 date 90.03.20.17.21.02; author sources; state Exp;
48 mhmail \- send or read mail
56 \%[\-subject subject]]
60 is intended as a replacement for the standard Bell mail program
61 (\fIbellmail\fR\0(1)), compatible with \fIMH\fR.
62 When invoked without arguments, it simply
63 invokes \fIinc\fR\0(1)
64 to incorporate new messages from the user's maildrop.
65 When one or more users is specified, a message is read from
66 the standard input and spooled to a temporary file.
67 \fIMHmail\fR then invokes \fIpost\fR\0(8)
68 with the name of the temporary file as
69 its argument to deliver the message to the specified user.
71 The `\-subject\ subject' switch can be used to specify the \*(lqSubject:\*(rq field
72 of the message. The `\-body\ text' switch can be used to specify the text of
73 the message; if it is specified, then the standard input is not read.
74 Normally, addresses appearing as arguments are put in the \*(lqTo:\*(rq field.
75 If the `\-cc' switch is used, all addresses following it are placed in the
78 By using `\-from\ addr',
79 you can specify the \*(lqFrom:\*(rq header of the draft.
81 \fIpost\fR will fill\-in the \*(lqSender:\*(rq header correctly.
83 This program is intended for the use of programs
84 such as \fIat\fR\0(1), which expect
85 to send mail automatically to various users.
86 Normally, real people (as opposed to the \*(lqunreal\*(rq ones)
87 will prefer to use \fIcomp\fR\0(1) and \fIsend\fR\0(1) to send messages.
89 ^@@(MHBINPATH)/inc~^Program to incorporate a maildrop into a folder
90 ^@@(MHETCPATH)/post~^Program to deliver a message
91 ^/tmp/mhmail*~^Temporary copy of message
99 If \fIinc\fR is invoked, then \fIinc\fR's context changes occur.
106 @put things back, do .NA stuff another way
120 .TH MHMAIL 1 @@(MHCENTERFOOT) @@(MHLEFTFOOT)
130 @fixup for makewhatis
135 .TH MHMAIL 1 [mh.6] MH