aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Guenther <carsten.guenther@scalix.com>2005-09-23 14:24:39 +0800
committerCarsten Guenther <carsteng@src.gnome.org>2005-09-23 14:24:39 +0800
commitcf7812d3533a55cda581f1684918db9fef83cfc9 (patch)
tree47e6c3a1bee7fe283ff431cea70ea59a3b0c496e
parentebdca6e4a4d65c9e13817e491c502666686707fb (diff)
downloadgsoc2013-evolution-cf7812d3533a55cda581f1684918db9fef83cfc9.tar.gz
gsoc2013-evolution-cf7812d3533a55cda581f1684918db9fef83cfc9.tar.zst
gsoc2013-evolution-cf7812d3533a55cda581f1684918db9fef83cfc9.zip
Fixes #316983
2005-09-22 Carsten Guenther <carsten.guenther@scalix.com> Fixes #316983 * em-composer-utils.c (em_utils_send_receipt): Exchanged the FROM and TO fields so that a read receipt actually goes to the sender of the original message. svn path=/trunk/; revision=30370
-rw-r--r--mail/ChangeLog9
-rw-r--r--mail/em-composer-utils.c4
2 files changed, 11 insertions, 2 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index bc8f69138c..8dacba3bff 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,12 @@
+2005-09-22 Carsten Guenther <carsten.guenther@scalix.com>
+
+ Fixes #316983
+
+ * em-composer-utils.c (em_utils_send_receipt):
+ Exchanged the FROM and TO fields so that a read
+ receipt actually goes to the sender of the original
+ message.
+
2005-09-21 Sankar P <psankar@novell.com>
* em-account-editor.c (emae_defaults_page):
diff --git a/mail/em-composer-utils.c b/mail/em-composer-utils.c
index f994a79a83..452cad9bca 100644
--- a/mail/em-composer-utils.c
+++ b/mail/em-composer-utils.c
@@ -1238,12 +1238,12 @@ em_utils_send_receipt (CamelFolder *folder, CamelMimeMessage *message)
addr = camel_internet_address_new ();
camel_address_decode (CAMEL_ADDRESS (addr), self_address);
- camel_mime_message_set_recipients (receipt, CAMEL_RECIPIENT_TYPE_TO, addr);
+ camel_mime_message_set_from (receipt, addr);
camel_object_unref (addr);
addr = camel_internet_address_new ();
camel_address_decode (CAMEL_ADDRESS (addr), receipt_address);
- camel_mime_message_set_from (receipt, addr);
+ camel_mime_message_set_recipients (receipt, CAMEL_RECIPIENT_TYPE_TO, addr);
camel_object_unref (addr);
camel_medium_set_header (CAMEL_MEDIUM (receipt), "Return-Path", "<>");