aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-05-11 08:48:54 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-05-11 08:48:54 +0800
commit643d963bfec169ec45f8ae4efaa4ee4243e07d59 (patch)
tree7209308cb06684c29e03ea268d0b0ebd45f686eb
parentb3289e0935eaf44fd7ffce5b378cd8fbfdf558c6 (diff)
downloadgsoc2013-evolution-643d963bfec169ec45f8ae4efaa4ee4243e07d59.tar.gz
gsoc2013-evolution-643d963bfec169ec45f8ae4efaa4ee4243e07d59.tar.zst
gsoc2013-evolution-643d963bfec169ec45f8ae4efaa4ee4243e07d59.zip
Fetch the BODYSTRUCTURE rather than BODY since BODY seems to be lacking
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. svn path=/trunk/; revision=16762
-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;