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
This commit is contained in:
Jeffrey Stedfast
2002-05-11 00:48:54 +00:00
committed by Jeffrey Stedfast
parent b3289e0935
commit 643d963bfe
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -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.
+1 -1
View File
@@ -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;