source: trunk/third/nmh/man/mhmail.man @ 12455

Revision 12455, 2.3 KB checked in by danw, 26 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r12454, which included commits to RCS files with non-trunk default branches.
Line 
1.\"
2.\" %nmhwarning%
3.\" $Id: mhmail.man,v 1.1.1.1 1999-02-07 18:14:21 danw Exp $
4.\"
5.\" include the -mh macro file
6.so %etcdir%/tmac.h
7.\"
8.TH MHMAIL %manext1% MH.6.8 [%nmhversion%]
9.SH NAME
10mhmail \- send or read mail
11.SH SYNOPSIS
12.in +.5i
13.ti -.5i
14mhmail
15\%[
16addrs\ ...
17\%[\-body\ text]
18\%[\-cc\ addrs\ ...]
19.br
20\%[\-from\ addr]
21\%[\-subject subject]]
22.br
23\%[\-version]
24\%[\-help]
25.in -.5i
26.SH DESCRIPTION
27\fImhmail\fR is intended as a replacement for the standard Berkeley
28mail program (\fImail\fR(1) or \fImailx\fR(1)), which is compatible
29with \fInmh\fR.  This program is intended for the use of programs such
30as \fIcron\fR(1), which expect to send mail automatically to various
31users.  It is also used by various \fInmh\fR commands to mail various
32error notifications.  Although \fImhmail\fR can be used interactively,
33it is recommended that \fIcomp\fR(1) and \fIsend\fR(1) be used instead
34to send messages.
35
36When invoked without arguments, it simply invokes \fIinc\fR(1) to
37incorporate new messages from the user's maildrop.  When one or more users
38is specified, a message is read from the standard input and spooled to
39a temporary file.  \fImhmail\fR then invokes \fIpost\fR(8) with the
40name of the temporary file as its argument to deliver the message to
41the specified user.
42
43The `\-subject\ subject' switch can be used to specify the
44\*(lqSubject:\*(rq field of the message.
45
46By default, \fImhmail\fR will read the message to be sent from the
47standard input.  You can specify the text of the message at the command
48line with the `\-body\ text' switch.  If the standard input has zero
49length, \fImhmail\fR will not send the message.  You can use the switch
50`\-body\ ""' to force an empty message.
51
52Normally, addresses appearing as arguments are put in the \*(lqTo:\*(rq
53field.  If the `\-cc' switch is used, all addresses following it are
54placed in the \*(lqcc:\*(rq field.
55
56By using `\-from\ addr', you can specify the \*(lqFrom:\*(rq header of
57the draft.  Naturally, \fIpost\fR will fill\-in the \*(lqSender:\*(rq
58header correctly.
59.Fi
60^%bindir%/inc~^Program to incorporate maildrop into folder
61^%libdir%/post~^Program to deliver a message
62^/tmp/mhmail*~^Temporary copy of message
63.Pr
64None
65.Sa
66inc(1), post(8)
67.De
68None
69.Co
70If \fIinc\fR is invoked, then \fIinc\fR's context changes occur.
71.En
Note: See TracBrowser for help on using the repository browser.