diff options
-rw-r--r-- | mail/ChangeLog | 7 | ||||
-rw-r--r-- | mail/mail-callbacks.c | 25 |
2 files changed, 7 insertions, 25 deletions
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 <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 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 */ |