diff options
author | Carl Worth <cworth@cworth.org> | 2009-11-12 11:08:36 -0800 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2009-11-12 11:08:36 -0800 |
commit | 077b8b2ac6729248d0390bbb3c05ec7bdb60ded2 (patch) | |
tree | a2095cef79ae7cec93a6be9535cdbcd993cda2aa | |
parent | bb7ed1f153a8cf28e4b9ef7670e4bfc05322987f (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.
-rw-r--r-- | notmuch-reply.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/notmuch-reply.c b/notmuch-reply.c index d2fc6d9..f26bd55 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)); |