4 .TH SEND %manext1% "%nmhdate%" MH.6.8 [%nmhversion%]
16 .RB [ \-format " | " \-noformat ]
17 .RB [ \-forward " | " \-noforward ]
18 .RB [ \-push " | " \-nopush ]
19 .RB [ \-verbose " | " \-noverbose ]
20 .RB [ \-watch " | " \-nowatch ]
28 will cause each of the specified messages to be delivered
29 to each of the destinations in the \*(lqTo:\*(rq, \*(lqCc:\*(rq,
30 \*(lqBcc:\*(rq, \*(lqDcc:\*(rq, and \*(lqFcc:\*(rq fields of the message. If
32 is re\-distributing a message, as invoked from
35 corresponding \*(lqResent\-xxx\*(rq fields are examined instead.
42 delivery of the messages, although this can be changed by defining the
44 profile component. Most of the features attributed to
46 are actually performed by
49 The draft is scanned for attachment header fields.
50 Their name defaults to ``Attach'', but may be changed by the value of the
53 If such header fields are found, or the body contains non-ASCII characters,
54 the message is converted to a MIME message.
55 This conversion occurs before all other processing.
57 The first part of the MIME message is the draft body if the body is non-empty.
58 The body of each attachment header field is interpreted as a file name,
59 and each file named is included as a separate part in the MIME message.
61 For file names with dot suffixes, the context is scanned for a
63 entry for that suffix.
64 The content-type for the part is taken from that context entry if a match is
66 If no match is found or the file does not have a dot suffix, the content-type
67 is text/plain if the file contains only ASCII characters or
68 application/octet-stream otherwise.
70 The last component of the path name is taken as the name of the MIME parts.
71 A message part header for an attachment might be:
74 Content-Type: text/plain; name="VERSION"; charset="us-ascii"
75 Content-Disposition: attachment; filename="VERSION"
82 will detach itself from the user's
83 terminal and perform its actions in the background. If
85 and the draft can't be sent, then an error message will be sent (using
86 the mailproc) back to the user. If
89 of the draft will be attached to this failure notice. Using
93 in the background because the output is
94 trapped and analyzed by
101 will indicate the interactions
102 occurring with the transport system, prior to actual delivery.
107 will monitor the delivery of local
108 and network mail. Hence, by specifying both switches, a large detail
109 of information can be gathered about each step of the message's entry
110 into the transport system.
115 argument will send the current message in the draft folder.
117 always takes messages from the draft folder.
120 argument might be added in the future.)
123 man page for more information.
125 Once the transport system has successfully accepted custody of the
126 message, the message will be renamed with a leading comma, which allows
127 it to be retrieved until the next draft message is sent. If there are
128 errors in the formatting of the message,
131 (hopefully) helpful error message.
133 If a \*(lqBcc:\*(rq field is encountered, its addresses will be used for
134 delivery, and the \*(lqBcc:\*(rq field will be removed from the message
135 sent to sighted recipients. The blind recipients will receive an entirely
136 new message with a minimal set of headers. Included in the body of the
137 message will be a copy of the message sent to the sighted recipients.
139 If a \*(lqDcc:\*(rq field is encountered, its addresses will be used for
140 delivery, and the \*(lqDcc:\*(rq field will be removed from the message. The
141 blind recipients will receive the same message sent to the sighted
142 recipients. *WARNING* Recipients listed in the \*(lqDcc:\*(rq field receive no
143 explicit indication that they have received a \*(lqblind copy\*(rq.
144 This can cause blind recipients to
145 inadvertently reply to all of the sighted recipients of the
146 original message, revealing that they received a blind copy.
147 On the other hand, since a normal reply to a message sent
148 via a \*(lqBcc:\*(rq field
149 will generate a reply only to the sender of the original message,
150 it takes extra effort in most mailers to reply to the included
151 message, and so would usually only be done deliberately, rather
157 is specified, then this copy is filtered
160 prior to being sent to the blind recipients.
162 Prior to sending the message, the fields \*(lqFrom:\ user@local\*(rq,
163 and \*(lqDate:\ now\*(rq will be appended to the headers in the message.
164 If the environment variable
166 is set, then its value
167 is used as your personal name when constructing the \*(lqFrom:\*(rq
168 line of the message. If this environment variable is not set, then
170 will consult the profile entry \*(lqSignature\*(rq for
175 is re\-distributing a message (when invoked by
177 then \*(lqResent\-\*(rq will be prepended to each of these
178 fields: \*(lqFrom:\*(rq, \*(lqDate:\*(rq, and \*(lqMessage\-ID:\*(rq.
179 If the message already contains a \*(lqFrom:\*(rq field, then a
180 \*(lqSender: user@local\*(rq field will be added as well. (An already
181 existing \*(lqSender:\*(rq field is an error!)
185 switch, each of the entries in the \*(lqTo:\*(rq
186 and \*(lqCc:\*(rq fields will be replaced with \*(lqstandard\*(rq
187 format entries. This standard format is designed to be usable by all
188 of the message handlers on the various systems around the Internet.
191 is given, then headers are output exactly as they appear
192 in the message draft.
194 If an \*(lqFcc:\ folder\*(rq is encountered, the message will be copied
195 to the specified folder for the sender in the format in which it will
196 appear to any non\-Bcc receivers of the message. That is, it will have
197 the appended fields and field reformatting. The \*(lqFcc:\*(rq fields
198 will be removed from all outgoing copies of the message.
200 The files specified by the profile entry \*(lqAliasfile:\*(rq and any
201 additional alias files given by the
205 read (more than one file, each preceded by
210 for more information.
215 .ta \w'%etcdir%/ExtraBigFileName 'u
216 ^$HOME/.mmh/profile~^The user profile
217 ^+drafts~^The draft folder
220 .SH "PROFILE COMPONENTS"
224 .ta \w'ExtraBigProfileName 'u
225 ^Path:~^To determine the user's mail storage
226 ^Draft\-Folder:~^To set the default draft\-folder
227 ^Aliasfile:~^For a default alias file
228 ^Signature:~^To determine the user's mail signature
229 ^Attachment\-Header:~^To set the name of the attachment header field
230 ^mailproc:~^Program to post failure notices
231 ^postproc:~^Program to post the message
235 comp(1), dist(1), forw(1), repl(1), mh\-alias(5), post(8)
239 .RB ` msg "' defaults to the current message in the draft folder"
252 Under some configurations, it is not possible to monitor the mail delivery
255 is a no-op on those systems.