1 .TH COMP %manext1% "May 21, 2012" "%nmhversion%"
6 comp \- compose a message
15 .RB [ \-use " | " \-nouse ]
22 .RB [ \-nodraftfolder ]
40 .RB [ \-nowhatnowproc ]
47 is used to create a new message to be mailed. It copies a
48 message form to the draft being composed and then invokes an editor on
51 is given, in which case the initial edit is suppressed).
53 The default message template \*(lqcomponents\*(rq will direct
55 to construct the message draft as follows:
59 From: {from switch} or <Local-Mailbox> or <username@hostname>
60 To: {to switch} or blank
61 cc: {cc switch} or blank
62 Fcc: {fcc switch} or +outbox
63 Subject: {subject switch} or blank
69 .RI \*(lq components \*(rq
70 exists in the user's nmh directory,
71 it will be used instead of this form. You may specify an alternate
72 forms file with the switch
78 using the contents of an existing message
79 as the form. If you supply either a
84 message will be used as the message form. You may not supply both a
92 dashes or a blank line must be left between the header and the body of
93 the message for the message to be identified properly when it is sent
101 to continue editing an already
102 started message. That is, if a
109 is terminated without sending the draft, the draft can
117 switch says to use the named file as the message draft.
119 Forms that are selected via the
121 switch are processed via the
125 for details. Drafts constructed from another message or with the
129 switchs will NOT be processed with
132 In addition to the standard
137 escapes are either new or have an alternate meaning:
141 .ta \w'Escape 'u +\w'Returns 'u
142 .I "Escape Returns Description"
143 fcc string Any folders specified with `\-fcc\ folder'
144 from string Any addresses specified with `\-from\ address'
145 to string Any addresses specified with `\-to\ address'
146 cc string Any addresses specified with `\-cc\ address'
147 subject string Any text specified with `\-subject\ text'
151 By default the \*(lqTo:\*(rq and \*(lqcc:\*(rq fields are empty. You may
152 add addresses to these fields with the
158 switches. You may give these switches multiple times to add multiple
161 By default the \*(lqFrom:\*(rq field has either the value of the
163 profile entry or a system default email address. This default can be
164 overridden by using the
167 switch. The default mailbox in the \*(lqFcc:\*(rq field is
169 This can be overridden by the
173 Any text you give to the
175 switch will be placed in the \*(lqSubject:\*(rq field in the draft.
177 If the draft already exists,
179 will ask you as to the disposition
180 of the draft. A reply of
184 leaving the draft intact;
186 will replace the existing draft with
187 the appropriate form;
189 will display the draft;
191 will use the draft for further composition; and
194 will file the draft in the given folder, and give you a new draft with the
195 appropriate form. (The
209 draft folder facility. This is an advanced (and highly
210 useful) feature. Consult the
212 man page for more information.
217 switch indicates the editor to use for the
218 initial edit. Upon exiting from the editor,
225 available options. The invocation of this program can be inhibited
228 switch. (In truth of fact, it is
231 program which starts the initial edit. Hence,
233 will prevent any edit from occurring.)
237 switch is intended to be used by the Emacs mh-e interface to
240 .BR \-nowhatnowproc .
241 It causes a file <mh\-dir>/draft to be created, containing the draft message that
242 would normally be presented to the user for editing.
243 No mail is actually sent.
248 The standard message skeleton.
251 An alternative to the standard skeleton.
256 .SH "PROFILE COMPONENTS"
260 To determine the user's nmh directory.
263 To find the default draft\-folder.
266 To override the default editor.
269 To set mode when creating a new message (draft).
272 Program to refile the message.
275 Program to ask the \*(lqWhat now?\*(rq questions
308 it does not actually run the
311 Hence, if you define your own