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: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=077b8b2ac6729248d0390bbb3c05ec7bdb60ded2;hp=bb7ed1f153a8cf28e4b9ef7670e4bfc05322987f 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));