aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/ChangeLog9
-rw-r--r--mail/em-composer-utils.c8
2 files changed, 17 insertions, 0 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 84bd2414eb..7046494912 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,12 @@
+2007-07-09 Chenthill Palanisamy <pchenthill@novell.com>
+
+ reviewed by: Veerapuram Varadhan <vvaradhan@novell.com>
+
+ * em-composer-utils.c: (em_utils_send_receipt): Added some flags so that
+ the receipts work fine even if the account configured is not the default one.
+
+ Committing on behalf of Bharath Acharya <abharath@novell.com>
+
2006-08-31 Matthew Barnes <mbarnes@redhat.com>
* em-folder-view.c: (emfv_setup_view_instance)
diff --git a/mail/em-composer-utils.c b/mail/em-composer-utils.c
index ca24ac3db0..c4a886ecc6 100644
--- a/mail/em-composer-utils.c
+++ b/mail/em-composer-utils.c
@@ -1283,6 +1283,14 @@ em_utils_send_receipt (CamelFolder *folder, CamelMimeMessage *message)
camel_object_unref (addr);
camel_medium_set_header (CAMEL_MEDIUM (receipt), "Return-Path", "<>");
+ if(account) {
+ camel_medium_set_header (CAMEL_MEDIUM (receipt),
+ "X-Evolution-Account", account->uid);
+ camel_medium_set_header (CAMEL_MEDIUM (receipt),
+ "X-Evolution-Transport", account->transport->url);
+ camel_medium_set_header (CAMEL_MEDIUM (receipt),
+ "X-Evolution-Fcc", account->sent_folder_uri);
+ }
/* Send the receipt */
out_folder = mail_component_get_folder(NULL, MAIL_COMPONENT_FOLDER_OUTBOX);