aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--camel/ChangeLog4
-rw-r--r--camel/providers/imap/camel-imap-folder.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index a494cde3c3..1d0109f8ec 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,5 +1,9 @@
2002-05-10 Jeffrey Stedfast <fejj@ximian.com>
+ * providers/imap/camel-imap-folder.c (imap_get_message): Fetch the
+ BODYSTRUCTURE rather than BODY since BODY seems to be lacking some
+ of the data we need. This fixes bug #24131.
+
* camel-transport.c (camel_transport_get_type): Might help if we
called camel_transport_class_init.
diff --git a/camel/providers/imap/camel-imap-folder.c b/camel/providers/imap/camel-imap-folder.c
index 9baf2560aa..487944999d 100644
--- a/camel/providers/imap/camel-imap-folder.c
+++ b/camel/providers/imap/camel-imap-folder.c
@@ -1644,7 +1644,7 @@ imap_get_message (CamelFolder *folder, const char *uid, CamelException *ex)
}
response = camel_imap_command (store, folder, ex,
- "UID FETCH %s BODY", uid);
+ "UID FETCH %s BODYSTRUCTURE", uid);
if (!response) {
camel_folder_summary_info_free (folder->summary, mi);
return NULL;