aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-composer-utils.c
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/em-composer-utils.c
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/em-composer-utils.c')
-rw-r--r--mail/em-composer-utils.c8
1 files changed, 8 insertions, 0 deletions
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);