aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-02-02 04:49:30 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-02-02 04:49:30 +0800
commit7078e689561c5af29e0007965143368fd6dba7a7 (patch)
treefa46d30cd4124287a04e889b653816eee354206b
parent5d3e16ae8bcc183e9b9efa084fba75acc6155866 (diff)
downloadgsoc2013-evolution-7078e689561c5af29e0007965143368fd6dba7a7.tar
gsoc2013-evolution-7078e689561c5af29e0007965143368fd6dba7a7.tar.gz
gsoc2013-evolution-7078e689561c5af29e0007965143368fd6dba7a7.tar.bz2
gsoc2013-evolution-7078e689561c5af29e0007965143368fd6dba7a7.tar.lz
gsoc2013-evolution-7078e689561c5af29e0007965143368fd6dba7a7.tar.xz
gsoc2013-evolution-7078e689561c5af29e0007965143368fd6dba7a7.tar.zst
gsoc2013-evolution-7078e689561c5af29e0007965143368fd6dba7a7.zip
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
-rw-r--r--mail/ChangeLog7
-rw-r--r--mail/mail-callbacks.c25
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 */