aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorChenthill Palanisamy <pchenthill@novell.com>2007-07-09 19:17:08 +0800
committerChenthill Palanisamy <pchen@src.gnome.org>2007-07-09 19:17:08 +0800
commitb7a62880133b30d3de3ff1cabc7dae473024a5f6 (patch)
treeef71ed818e734355883ce204f206c48a6973d3aa /mail
parentd951a60f705e5bf1fc5e2c683155579c2a662486 (diff)
downloadgsoc2013-evolution-b7a62880133b30d3de3ff1cabc7dae473024a5f6.tar
gsoc2013-evolution-b7a62880133b30d3de3ff1cabc7dae473024a5f6.tar.gz
gsoc2013-evolution-b7a62880133b30d3de3ff1cabc7dae473024a5f6.tar.bz2
gsoc2013-evolution-b7a62880133b30d3de3ff1cabc7dae473024a5f6.tar.lz
gsoc2013-evolution-b7a62880133b30d3de3ff1cabc7dae473024a5f6.tar.xz
gsoc2013-evolution-b7a62880133b30d3de3ff1cabc7dae473024a5f6.tar.zst
gsoc2013-evolution-b7a62880133b30d3de3ff1cabc7dae473024a5f6.zip
reviewed by: Veerapuram Varadhan <vvaradhan@novell.com>
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> svn path=/trunk/; revision=33785
Diffstat (limited to 'mail')
-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);