From: Carl Worth Date: Thu, 12 Nov 2009 19:08:36 +0000 (-0800) Subject: notmuch reply: Add Bcc to the user's primary email address. X-Git-Tag: 0.1~519 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=077b8b2ac6729248d0390bbb3c05ec7bdb60ded2;p=notmuch.git 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. --- 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));