]> diplodocus.org Git - nmh/blob - docs/historical/mh-jun-1982/man/send.1
Replaced use of snprintf() with memcpy()/memmove().
[nmh] / docs / historical / mh-jun-1982 / man / send.1
1 .TH SEND 1 RAND
2 .SH NAME
3 send \- send a message
4 .SH SYNOPSIS
5 send \%[file] \%[\-draft] \%[\-verbose] \%[\-format] \%[\-msgid]
6 \%[\-help] \%[\-noverbose] \%[\-noformat] \%[\-nomsgid]
7 .SH DESCRIPTION
8 \fISend\fR will cause the specified file (default <mh-dir>/draft) to
9 be delivered
10 (via
11 .I deliver(8)
12 ) to each of the addresses in the ``To:'', ``cc:'', and ``Bcc:''
13 fields of the message.
14 If `\-verbose' is specified, \fIsend;\fR
15 will monitor the delivery of local and net mail.
16 \fISend\fR with no
17 argument will query whether the draft is the intended file, whereas
18 `\-draft' will suppress this question.
19 Once the message has
20 been mailed (or queued) successfully, the file will be renamed
21 with a leading comma, which allows it to be retreived until the
22 next draft message is sent.
23 If there are errors in the
24 formatting of the message, \fIsend;\fR will abort with a (hopefully)
25 helpful error message.
26
27 If a ``Bcc:'' field is encountered, its addresses will be used for
28 delivery, but the ``Bcc:'' field itself will be deleted from all
29 copies of the outgoing message.
30
31 Prior to sending the message, the fields ``From: user'', and
32 ``Date: now'' will be prepended to the message.
33 If `\-msgid' is
34 specified, then a ``Message-Id:'' field will also be added to the
35 message.
36 If the message already contains a ``From:'' field, then a
37 ``Sender: user'' field will be added instead.
38 (An already existing
39 ``Sender:'' field will be deleted from the message.)
40
41 If the user doesn't specify `\-noformat', each of the entries in
42 the ``To:'' and ``cc:'' fields will be replaced with ``standard'' format
43 entries.
44 This standard format is designed to be usable by all
45 of the message handlers on the various systems around the
46 ARPANET.
47
48 If an ``Fcc: folder'' is encountered, the message will be copied
49 to the specified folder in the format in which it will appear to any
50 receivers of the message.
51 That is, it will have the prepended
52 fields and field reformatting.
53
54 If a ``Distribute-To:'' field is encountered, the message
55 is handled as a redistribution message (see \fIdist(1)\fR for
56 details), with ``Distribution-Date: now'' and ``Distribution-From: user''
57 added.
58 .SH FILES
59 .ta 2.4i
60 $HOME/\*.mh\(ruprofile The user profile
61 .SH PROFILE COMPONENTS
62 Path: To determine the user's MH directory
63 .SH SEE ALSO
64 deliver(8),dist(1),forw(1)
65 .SH DEFAULTS
66 `file' defaults to draft
67 .br
68 `\-noverbose'
69 .br
70 `\-format'
71 .br
72 `\-nomsgid'
73 .SH CONTEXT
74 \fISend\fR has no effect on the current message or