[evolution/wip/webkit2] Bug 692566 - [Templates] Honor Reply-To header



commit 44acec8339902a6c37d82f62e801dbcef0870f77
Author: Milan Crha <mcrha redhat com>
Date:   Tue Mar 10 15:03:37 2015 +0100

    Bug 692566 - [Templates] Honor Reply-To header

 plugins/templates/templates.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/plugins/templates/templates.c b/plugins/templates/templates.c
index fe9dd98..77765b2 100644
--- a/plugins/templates/templates.c
+++ b/plugins/templates/templates.c
@@ -912,6 +912,7 @@ create_new_message (CamelFolder *folder,
        /* Set the To: field to the same To: field of the message we are replying to. */
        camel_mime_message_set_recipients (
                new, CAMEL_RECIPIENT_TYPE_TO,
+               camel_mime_message_get_reply_to (message) ? camel_mime_message_get_reply_to (message) :
                camel_mime_message_get_from (message));
 
        /* Copy the CC and BCC from the template.*/


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]