Don't bother setting the auto-cc/bcc recipients here. I'm moving the code

2002-01-31  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-callbacks.c (composer_get_message): Don't bother setting
	the auto-cc/bcc recipients here. I'm moving the code to add them
	in the GUI in the composer so they will already be in the
	recipient list by this point.

svn path=/trunk/; revision=15549
This commit is contained in:
Jeffrey Stedfast
2002-02-01 20:49:30 +00:00
committed by Jeffrey Stedfast
parent 5d3e16ae8b
commit 7078e68956
2 changed files with 7 additions and 25 deletions

View File

@ -1,3 +1,10 @@
2002-01-31 Jeffrey Stedfast <fejj@ximian.com>
* mail-callbacks.c (composer_get_message): Don't bother setting
the auto-cc/bcc recipients here. I'm moving the code to add them
in the GUI in the composer so they will already be in the
recipient list by this point.
2002-01-31 Radek Doulik <rodo@ximian.com>
* mail-callbacks.c (mail_generate_reply): ignore spell checking of

View File

@ -418,31 +418,6 @@ composer_get_message (EMsgComposer *composer)
camel_medium_set_header (CAMEL_MEDIUM (message), "X-Evolution-Fcc", account->sent_folder_uri);
if (account->id->organization)
camel_medium_set_header (CAMEL_MEDIUM (message), "Organization", account->id->organization);
/* add the always-cc/bcc addresses */
if (account->always_cc && account->cc_addrs) {
CamelInternetAddress *addrs;
addrs = camel_internet_address_new ();
camel_address_decode (CAMEL_ADDRESS (addrs), account->cc_addrs);
iaddr = camel_mime_message_get_recipients (message, CAMEL_RECIPIENT_TYPE_CC);
if (iaddr)
camel_address_cat (CAMEL_ADDRESS (addrs), CAMEL_ADDRESS (iaddr));
camel_mime_message_set_recipients (message, CAMEL_RECIPIENT_TYPE_CC, addrs);
camel_object_unref (CAMEL_OBJECT (addrs));
}
if (account->always_bcc && account->bcc_addrs) {
CamelInternetAddress *addrs;
addrs = camel_internet_address_new ();
camel_address_decode (CAMEL_ADDRESS (addrs), account->bcc_addrs);
iaddr = camel_mime_message_get_recipients (message, CAMEL_RECIPIENT_TYPE_BCC);
if (iaddr)
camel_address_cat (CAMEL_ADDRESS (addrs), CAMEL_ADDRESS (iaddr));
camel_mime_message_set_recipients (message, CAMEL_RECIPIENT_TYPE_BCC, addrs);
camel_object_unref (CAMEL_OBJECT (addrs));
}
}
/* get the message recipients */