aboutsummaryrefslogtreecommitdiffhomepage
path: root/notmuch-reply.c
diff options
context:
space:
mode:
authorGravatar Carl Worth <cworth@cworth.org>2009-11-12 11:08:36 -0800
committerGravatar Carl Worth <cworth@cworth.org>2009-11-12 11:08:36 -0800
commit077b8b2ac6729248d0390bbb3c05ec7bdb60ded2 (patch)
treea2095cef79ae7cec93a6be9535cdbcd993cda2aa /notmuch-reply.c
parentbb7ed1f153a8cf28e4b9ef7670e4bfc05322987f (diff)
notmuch reply: Add Bcc to the user's primary email address.
The user really wants a copy of all outbound messages to come back in.
Diffstat (limited to 'notmuch-reply.c')
-rw-r--r--notmuch-reply.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/notmuch-reply.c b/notmuch-reply.c
index d2fc6d92..f26bd552 100644
--- a/notmuch-reply.c
+++ b/notmuch-reply.c
@@ -251,6 +251,9 @@ notmuch_reply_command (void *ctx, int argc, char *argv[])
g_mime_object_set_header (GMIME_OBJECT (reply),
"From", from_addr);
+ g_mime_object_set_header (GMIME_OBJECT (reply), "Bcc",
+ notmuch_config_get_user_primary_email (config));
+
in_reply_to = talloc_asprintf (ctx, "<%s>",
notmuch_message_get_message_id (message));