1MHMAIL(1)                    [nmh-1.2-20070115cvs]                   MHMAIL(1)
2
3
4

NAME

6       mhmail - send or read mail
7

SYNOPSIS

9       mhmail [addrs ...]  [-body text] [-cc addrs [-from addr] [-subject sub‐
10            ject] [-version] [-help]
11

DESCRIPTION

13       mhmail is intended as a replacement for the standard Berkeley mail pro‐
14       gram  (mail  or  mailx), which is compatible with nmh.  This program is
15       intended for the use of programs such as cron,  which  expect  to  send
16       mail  automatically  to  various users.  It is also used by various nmh
17       commands to mail various error notifications.  Although mhmail  can  be
18       used  interactively,  it  is  recommended  that  comp  and send be used
19       instead to send messages.
20
21       When invoked without arguments, it simply invokes  inc  to  incorporate
22       new messages from the user's maildrop.  When one or more users is spec‐
23       ified, a message is read from the standard input and spooled to a  tem‐
24       porary  file.   mhmail then invokes post with the name of the temporary
25       file as its argument to deliver the message to the specified user.
26
27       The -subject subject switch can be used to specify the “Subject:” field
28       of the message.
29
30       By  default,  mhmail will read the message to be sent from the standard
31       input.  You can specify the text of the message  at  the  command  line
32       with  the  -body  text  switch.  If the standard input has zero length,
33       mhmail will not send the message.  You can use the switch  -body  ”  to
34       force an empty message.
35
36       Normally,  addresses appearing as arguments are put in the “To:” field.
37       If the -cc switch is used, all addresses following it are placed in the
38       “cc:” field.
39
40       By  using  -from addr, you can specify the “From:” header of the draft.
41       Naturally, post will fill-in the “Sender:” header correctly.
42
43

FILES

45       /usr/bin/inc               Program to incorporate maildrop into folder
46       /usr/libexec/nmh/post      Program to deliver a message
47       /tmp/mhmail*               Temporary copy of message
48
49

SEE ALSO

51       inc(1), post(8)
52
53

DEFAULTS

55       None
56
57

CONTEXT

59       If inc is invoked, then inc's context changes occur.
60
61
62
63MH.6.8                            1 Jul 2003                         MHMAIL(1)
Impressum