1 .TH COMP %manext1% 2013-10-18 "%nmhversion%"
6 comp \- compose an nmh message
17 .RB [ \-use " | " \-nouse ]
24 .RB [ \-nodraftfolder ]
42 .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
134 In addition to the standard
139 escapes are either new or have an alternate meaning:
143 .ta \w'Escape 'u +\w'Returns 'u
144 .I "Escape Returns Description"
145 fcc string Any folders specified with `\-fcc\ folder'
146 from string Any addresses specified with `\-from\ address'
147 to string Any addresses specified with `\-to\ address'
148 cc string Any addresses specified with `\-cc\ address'
149 subject string Any text specified with `\-subject\ text'
153 By default the \*(lqTo:\*(rq and \*(lqcc:\*(rq fields are empty. You may
154 add addresses to these fields with the
160 switches. You may give these switches multiple times to add multiple
163 By default the \*(lqFrom:\*(rq field has either the value of the
165 profile entry or a system default email address. This default can be
166 overridden by using the
169 switch. The default mailbox in the \*(lqFcc:\*(rq field is
171 This can be overridden by the
175 Any text you give to the
177 switch will be placed in the \*(lqSubject:\*(rq field in the draft.
179 If the draft already exists,
181 will ask you as to the disposition
182 of the draft. A reply of
186 leaving the draft intact;
188 will replace the existing draft with
189 the appropriate form;
191 will display the draft;
193 will use the draft for further composition; and
196 will file the draft in the given folder, and give you a new draft with the
197 appropriate form. (The
211 draft folder facility. This is an advanced (and highly
212 useful) feature. Consult
214 for more information.
219 switch indicates the editor to use for the
220 initial edit. Upon exiting from the editor,
227 available options). The invocation of this program can be inhibited
230 switch. (In fact, it is the
232 program which starts the initial edit. Hence,
234 will prevent any edit from occurring.)
238 switch is intended to be used by the Emacs mh-e interface to
241 .BR \-nowhatnowproc .
242 It causes a file <mh-dir>/draft to be created, containing the draft message that
243 would normally be presented to the user for editing.
244 No mail is actually sent.
248 %nmhetcdir%/components
249 The default message skeleton.
252 The user's message skeleton.
257 .SH "PROFILE COMPONENTS"
261 To determine the user's nmh directory.
264 To find the default draft-folder.
267 To override the default editor.
270 To set mode when creating a new message (draft).
273 Program to refile the message.
276 Program to ask the \*(lqWhat now?\*(rq questions
309 it does not actually run the
312 Hence, if you define your own