mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-25 04:18:08 +01:00
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.
This commit is contained in:
parent
bb7ed1f153
commit
077b8b2ac6
1 changed files with 3 additions and 0 deletions
|
@ -251,6 +251,9 @@ notmuch_reply_command (void *ctx, int argc, char *argv[])
|
||||||
g_mime_object_set_header (GMIME_OBJECT (reply),
|
g_mime_object_set_header (GMIME_OBJECT (reply),
|
||||||
"From", from_addr);
|
"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>",
|
in_reply_to = talloc_asprintf (ctx, "<%s>",
|
||||||
notmuch_message_get_message_id (message));
|
notmuch_message_get_message_id (message));
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue