diff options
author | Sankar P <psankar@novell.com> | 2007-07-26 17:32:30 +0800 |
---|---|---|
committer | Sankarasivasubramanian Pasupathilingam <psankar@src.gnome.org> | 2007-07-26 17:32:30 +0800 |
commit | b6a3c9824e6853b06767320cd3ec26d10720be16 (patch) | |
tree | b99e359a2f367e59bb990bdfb188d409c0419d95 /mail | |
parent | 29b6bd175af679d0a499011833130789030e18b5 (diff) | |
download | gsoc2013-evolution-b6a3c9824e6853b06767320cd3ec26d10720be16.tar gsoc2013-evolution-b6a3c9824e6853b06767320cd3ec26d10720be16.tar.gz gsoc2013-evolution-b6a3c9824e6853b06767320cd3ec26d10720be16.tar.bz2 gsoc2013-evolution-b6a3c9824e6853b06767320cd3ec26d10720be16.tar.lz gsoc2013-evolution-b6a3c9824e6853b06767320cd3ec26d10720be16.tar.xz 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')
-rw-r--r-- | mail/ChangeLog | 8 | ||||
-rw-r--r-- | mail/em-composer-utils.c | 6 |
2 files changed, 11 insertions, 3 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index b83042ffb5..0f0e6bda5d 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,11 @@ +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 + 2007-07-26 Hiroyuki Ikezoe <poincare@ikezoe.net> * em-folder-browser.c: (emfb_search_search_activated): Plugged memory 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); |