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 ]
30 will cause each of the specified messages to be delivered
31 to each of the destinations in the \*(lqTo:\*(rq, \*(lqCc:\*(rq,
32 \*(lqBcc:\*(rq, \*(lqDcc:\*(rq, and \*(lqFcc:\*(rq fields of the message. If
34 is re\-distributing a message, as invoked from
37 corresponding \*(lqResent\-xxx\*(rq fields are examined instead.
44 delivery of the messages, although this can be changed by defining the
46 profile component. Most of the features attributed to
48 are actually performed by
51 The draft is scanned for attachment header fields.
52 Their name defaults to ``Attach'', but may be changed by the value of the
55 If such header fields are found, or the body contains non-ASCII characters,
56 the message is converted to a MIME message.
57 This conversion occurs before all other processing.
59 The first part of the MIME message is the draft body if the body is non-empty.
60 The body of each attachment header field is interpreted as a file name,
61 and each file named is included as a separate part in the MIME message.
63 For file names with dot suffixes, the context is scanned for a
65 entry for that suffix.
66 The content-type for the part is taken from that context entry if a match is
68 If no match is found or the file does not have a dot suffix, the content-type
69 is text/plain if the file contains only ASCII characters or
70 application/octet-stream otherwise.
72 The last component of the path name is taken as the name of the MIME parts.
73 A message part header for an attachment might be:
76 Content-Type: text/plain; name="VERSION"; charset="us-ascii"
77 Content-Disposition: attachment; filename="VERSION"
84 will detach itself from the user's
85 terminal and perform its actions in the background. If
87 and the draft can't be sent, then an error message will be sent (using
88 the mailproc) back to the user. If
91 of the draft will be attached to this failure notice. Using
95 in the background because the output is
96 trapped and analyzed by
103 will indicate the interactions
104 occurring with the transport system, prior to actual delivery.
109 will monitor the delivery of local
110 and network mail. Hence, by specifying both switches, a large detail
111 of information can be gathered about each step of the message's entry
112 into the transport system.
117 argument will send the current message in the draft folder.
119 always takes messages from the draft folder.
122 argument might be added in the future.)
125 man page for more information.
127 Once the transport system has successfully accepted custody of the
128 message, the message will be renamed with a leading comma, which allows
129 it to be retrieved until the next draft message is sent. If there are
130 errors in the formatting of the message,
133 (hopefully) helpful error message.
135 If a \*(lqBcc:\*(rq field is encountered, its addresses will be used for
136 delivery, and the \*(lqBcc:\*(rq field will be removed from the message
137 sent to sighted recipients. The blind recipients will receive an entirely
138 new message with a minimal set of headers. Included in the body of the
139 message will be a copy of the message sent to the sighted recipients.
141 If a \*(lqDcc:\*(rq field is encountered, its addresses will be used for
142 delivery, and the \*(lqDcc:\*(rq field will be removed from the message. The
143 blind recipients will receive the same message sent to the sighted
144 recipients. *WARNING* Recipients listed in the \*(lqDcc:\*(rq field receive no
145 explicit indication that they have received a \*(lqblind copy\*(rq.
146 This can cause blind recipients to
147 inadvertently reply to all of the sighted recipients of the
148 original message, revealing that they received a blind copy.
149 On the other hand, since a normal reply to a message sent
150 via a \*(lqBcc:\*(rq field
151 will generate a reply only to the sender of the original message,
152 it takes extra effort in most mailers to reply to the included
153 message, and so would usually only be done deliberately, rather
159 is specified, then this copy is filtered
162 prior to being sent to the blind recipients.
164 Prior to sending the message, the fields \*(lqFrom:\ user@local\*(rq,
165 and \*(lqDate:\ now\*(rq will be appended to the headers in the message.
166 If the environment variable
168 is set, then its value
169 is used as your personal name when constructing the \*(lqFrom:\*(rq
170 line of the message. If this environment variable is not set, then
172 will consult the profile entry \*(lqSignature\*(rq for
177 is re\-distributing a message (when invoked by
179 then \*(lqResent\-\*(rq will be prepended to each of these
180 fields: \*(lqFrom:\*(rq, \*(lqDate:\*(rq, and \*(lqMessage\-ID:\*(rq.
181 If the message already contains a \*(lqFrom:\*(rq field, then a
182 \*(lqSender: user@local\*(rq field will be added as well. (An already
183 existing \*(lqSender:\*(rq field is an error!)
187 switch, each of the entries in the \*(lqTo:\*(rq
188 and \*(lqCc:\*(rq fields will be replaced with \*(lqstandard\*(rq
189 format entries. This standard format is designed to be usable by all
190 of the message handlers on the various systems around the Internet.
193 is given, then headers are output exactly as they appear
194 in the message draft.
196 If an \*(lqFcc:\ folder\*(rq is encountered, the message will be copied
197 to the specified folder for the sender in the format in which it will
198 appear to any non\-Bcc receivers of the message. That is, it will have
199 the appended fields and field reformatting. The \*(lqFcc:\*(rq fields
200 will be removed from all outgoing copies of the message.
205 switch, the user can direct
207 as to how long it should make header lines containing addresses.
209 The files specified by the profile entry \*(lqAliasfile:\*(rq and any
210 additional alias files given by the
214 read (more than one file, each preceded by
219 for more information.
224 .ta \w'%etcdir%/ExtraBigFileName 'u
225 ^$HOME/.mmh/profile~^The user profile
226 ^+drafts~^The draft folder
229 .SH "PROFILE COMPONENTS"
233 .ta \w'ExtraBigProfileName 'u
234 ^Path:~^To determine the user's mail storage
235 ^Draft\-Folder:~^To set the default draft\-folder
236 ^Aliasfile:~^For a default alias file
237 ^Signature:~^To determine the user's mail signature
238 ^Attachment\-Header:~^To set the name of the attachment header field
239 ^mailproc:~^Program to post failure notices
240 ^postproc:~^Program to post the message
244 comp(1), dist(1), forw(1), repl(1), mh\-alias(5), post(8)
248 .RB ` msg "' defaults to the current message in the draft folder"
255 .RB ` "\-width\ 72" '
262 Under some configurations, it is not possible to monitor the mail delivery
265 is a no-op on those systems.