1 .TH NOTMUCH-REPLY 1 2012-03-18 "Notmuch 0.12~rc2"
3 notmuch-reply \- Constructs a reply template for a set of messages.
8 .RI "[" options "...] <" search-term ">..."
12 Constructs a reply template for a set of messages.
14 To make replying to email easier,
16 takes an existing set of messages and constructs a suitable mail
17 template. The Reply-to: header (if any, otherwise From:) is used for
18 the To: address. Unless
19 .BR \-\-reply-to=sender
20 is specified, values from the To: and Cc: headers are copied, but not
21 including any of the current user's email addresses (as configured in
22 primary_mail or other_email in the .notmuch\-config file) in the
25 It also builds a suitable new subject, including Re: at the front (if
26 not already present), and adding the message IDs of the messages being
27 replied to to the References list and setting the In\-Reply\-To: field
30 Finally, the original contents of the emails are quoted by prefixing
31 each line with '> ' and included in the body.
33 The resulting message template is output to stdout.
40 .BR \-\-format= ( default | headers\-only )
44 Includes subject and quoted message body.
47 Only produces In\-Reply\-To, References, To, Cc, and Bcc headers.
52 .BR \-\-reply\-to= ( all | sender )
56 Replies to all addresses.
59 Replies only to the sender. If replying to user's own message
60 (Reply-to: or From: header is one of the user's configured email
61 addresses), try To:, Cc:, and Bcc: headers in this order, and copy
62 values from the first that contains something other than only the
67 See \fBnotmuch-search-terms\fR(7)
68 for details of the supported syntax for <search-terms>.
70 Note: It is most common to use
72 with a search string matching a single message, (such as
73 id:<message-id>), but it can be useful to reply to several messages at
74 once. For example, when a series of patches are sent in a single
75 thread, replying to the entire thread allows for the reply to comment
76 on issue found in multiple patches.
82 \fBnotmuch\fR(1), \fBnotmuch-config\fR(1), \fBnotmuch-count\fR(1),
83 \fBnotmuch-dump\fR(1), \fBnotmuch-hooks\fR(5), \fBnotmuch-new\fR(1),
84 \fBnotmuch-restore\fR(1), \fBnotmuch-search\fR(1),
85 \fBnotmuch-search-terms\fR(7), \fBnotmuch-show\fR(1),