From 643d963bfec169ec45f8ae4efaa4ee4243e07d59 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Sat, 11 May 2002 00:48:54 +0000 Subject: Fetch the BODYSTRUCTURE rather than BODY since BODY seems to be lacking 2002-05-10 Jeffrey Stedfast * 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. svn path=/trunk/; revision=16762 --- camel/ChangeLog | 4 ++++ camel/providers/imap/camel-imap-folder.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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 + * 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; -- cgit