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
This commit is contained in:
Jeffrey Stedfast
2002-07-02 19:23:07 +00:00
committed by Jeffrey Stedfast
parent d90ce8063d
commit 8db5c3fbda
3 changed files with 10 additions and 1 deletions

View File

@ -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

View File

@ -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);

View File

@ -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);