diff options
Diffstat (limited to 'mail/mail-tools.c')
-rw-r--r-- | mail/mail-tools.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mail/mail-tools.c b/mail/mail-tools.c index efc4ab49e1..2b4061ed63 100644 --- a/mail/mail-tools.c +++ b/mail/mail-tools.c @@ -265,6 +265,10 @@ mail_tool_make_message_attachment (CamelMimeMessage *message) xev = mail_tool_remove_xevolution_headers (message); mail_tool_destroy_xevolution (xev); + /* remove Bcc headers */ + while (camel_medium_get_header (CAMEL_MEDIUM (message), "Bcc")) + camel_medium_remove_header (CAMEL_MEDIUM (message), "Bcc"); + part = camel_mime_part_new (); camel_mime_part_set_disposition (part, "inline"); camel_mime_part_set_description (part, desc); |