diff options
Diffstat (limited to 'mail/em-composer-utils.c')
-rw-r--r-- | mail/em-composer-utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
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", "<>"); |