From 7078e689561c5af29e0007965143368fd6dba7a7 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Fri, 1 Feb 2002 20:49:30 +0000 Subject: Don't bother setting the auto-cc/bcc recipients here. I'm moving the code 2002-01-31 Jeffrey Stedfast * 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 --- mail/ChangeLog | 7 +++++++ mail/mail-callbacks.c | 25 ------------------------- 2 files changed, 7 insertions(+), 25 deletions(-) (limited to 'mail') diff --git a/mail/ChangeLog b/mail/ChangeLog index 47f6aa6041..0b88ec15a4 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,10 @@ +2002-01-31 Jeffrey Stedfast + + * 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 * mail-callbacks.c (mail_generate_reply): ignore spell checking of diff --git a/mail/mail-callbacks.c b/mail/mail-callbacks.c index 34e23e14aa..7ed137e9e0 100644 --- a/mail/mail-callbacks.c +++ b/mail/mail-callbacks.c @@ -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 */ -- cgit v1.2.3