+2001-02-21 Dan Winship <danw@ximian.com>
+
+ * providers/imap/camel-imap-folder.c (fetch_medium): Fixes for
+ IMAP4-pre-rev1 from Torsten Schulz.
+
2001-02-20 Not Zed <NotZed@Ximian.com>
* camel-mime-utils.c (mail_list_magic): Take the ^Header: part out
CAMEL_IMAP_STORE_LOCK (store, command_lock);
if (store->server_level < IMAP_LEVEL_IMAP4REV1 && !*section_text) {
response = camel_imap_command (store, folder, ex,
- "UID FETCH %s RFC822.PEEK");
+ "UID FETCH %s RFC822.PEEK",
+ uid);
} else {
response = camel_imap_command (store, folder, ex,
"UID FETCH %s BODY.PEEK[%s]",
if (!result)
return NULL;
- p = e_strstrcase (result, "BODY");
+
+ if (store->server_level < IMAP_LEVEL_IMAP4REV1 && !*section_text)
+ p = e_strstrcase (result, "RFC822");
+ else
+ p = e_strstrcase (result, "BODY");
+
if (p)
medium = parse_headers (&p, type);
else {