aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-callbacks.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mail-callbacks.c')
-rw-r--r--mail/mail-callbacks.c25
1 files changed, 0 insertions, 25 deletions
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 */