aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/mail-callbacks.c2
-rw-r--r--mail/mail-tools.c4
3 files changed, 10 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 131e2077a3..930cc4e57b 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,8 @@
+2002-07-02 Jeffrey Stedfast <fejj@ximian.com>
+
+ * mail-tools.c (mail_tool_make_message_attachment): Remove Bcc
+ headers too.
+
2002-07-02 Ettore Perazzoli <ettore@ximian.com>
* folder-browser.c (folder_browser_gui_init): Don't connect
diff --git a/mail/mail-callbacks.c b/mail/mail-callbacks.c
index d58fd7ebfd..cea971efcb 100644
--- a/mail/mail-callbacks.c
+++ b/mail/mail-callbacks.c
@@ -974,7 +974,7 @@ mail_generate_reply (CamelFolder *folder, CamelMimeMessage *message, const char
if (reply_addr && !(mode == REPLY_ALL && g_hash_table_lookup (account_hash, reply_addr))) {
/* In the case that we are doing a Reply-To-All, we do not want
to include the user's email address because replying to oneself
- is kinda silly. */
+ is kinda silly. */
dest = e_destination_new ();
e_destination_set_name (dest, name);
e_destination_set_email (dest, reply_addr);
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);