aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-tools.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-07-03 03:23:07 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-07-03 03:23:07 +0800
commit8db5c3fbda0f6f457f1ce075affdc0430add1c88 (patch)
treeb5cd859981a315e43daafb61fb6f4b62a1c01d39 /mail/mail-tools.c
parentd90ce8063d562d9b9bb9201781ed0db9183f86de (diff)
downloadgsoc2013-evolution-8db5c3fbda0f6f457f1ce075affdc0430add1c88.tar
gsoc2013-evolution-8db5c3fbda0f6f457f1ce075affdc0430add1c88.tar.gz
gsoc2013-evolution-8db5c3fbda0f6f457f1ce075affdc0430add1c88.tar.bz2
gsoc2013-evolution-8db5c3fbda0f6f457f1ce075affdc0430add1c88.tar.lz
gsoc2013-evolution-8db5c3fbda0f6f457f1ce075affdc0430add1c88.tar.xz
gsoc2013-evolution-8db5c3fbda0f6f457f1ce075affdc0430add1c88.tar.zst
gsoc2013-evolution-8db5c3fbda0f6f457f1ce075affdc0430add1c88.zip
Remove Bcc headers too.
2002-07-02 Jeffrey Stedfast <fejj@ximian.com> * mail-tools.c (mail_tool_make_message_attachment): Remove Bcc headers too. svn path=/trunk/; revision=17351
Diffstat (limited to 'mail/mail-tools.c')
-rw-r--r--mail/mail-tools.c4
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);