aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-composer-utils.c
diff options
context:
space:
mode:
authorSankar P <psankar@novell.com>2007-07-26 17:32:30 +0800
committerSankarasivasubramanian Pasupathilingam <psankar@src.gnome.org>2007-07-26 17:32:30 +0800
commitb6a3c9824e6853b06767320cd3ec26d10720be16 (patch)
treeb99e359a2f367e59bb990bdfb188d409c0419d95 /mail/em-composer-utils.c
parent29b6bd175af679d0a499011833130789030e18b5 (diff)
downloadgsoc2013-evolution-b6a3c9824e6853b06767320cd3ec26d10720be16.tar.gz
gsoc2013-evolution-b6a3c9824e6853b06767320cd3ec26d10720be16.tar.zst
gsoc2013-evolution-b6a3c9824e6853b06767320cd3ec26d10720be16.zip
Committed on behalf of Atos Origin Communication Systems
2007-07-26 Sankar P <psankar@novell.com> * Committed on behalf of Atos Origin Communication Systems <support-syscom@osorigin.com> * em-composer-utils.c: (em_utils_send_receipt): - Fixes malformed body part headers for a MDN See bug #458275 svn path=/trunk/; revision=33844
Diffstat (limited to 'mail/em-composer-utils.c')
-rw-r--r--mail/em-composer-utils.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mail/em-composer-utils.c b/mail/em-composer-utils.c
index c4a886ecc6..5a6d9dbd8f 100644
--- a/mail/em-composer-utils.c
+++ b/mail/em-composer-utils.c
@@ -1239,15 +1239,15 @@ em_utils_send_receipt (CamelFolder *folder, CamelMimeMessage *message)
/* Create the machine-readable receipt */
receipt_data = camel_data_wrapper_new ();
- type = camel_content_type_new ("message", "disposition-notification");
- camel_data_wrapper_set_mime_type_field (receipt_data, type);
- camel_content_type_unref (type);
stream = camel_stream_mem_new ();
part = camel_mime_part_new ();
ua = g_strdup_printf ("%s; %s", hostname, "Evolution " VERSION SUB_VERSION " " VERSION_COMMENT);
recipient = g_strdup_printf ("rfc822; %s", self_address);
+ type = camel_content_type_new ("message", "disposition-notification");
+ camel_data_wrapper_set_mime_type_field (CAMEL_DATA_WRAPPER (part), type);
+ camel_content_type_unref (type);
camel_medium_add_header (CAMEL_MEDIUM (part), "Reporting-UA", ua);
camel_medium_add_header (CAMEL_MEDIUM (part), "Final-Recipient", recipient);
camel_medium_add_header (CAMEL_MEDIUM (part), "Original-Message-ID", message_id);