From 2baa5d56ed2db88fdb156c16165052346c4a405b Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Mon, 17 Jul 2000 22:19:19 +0000 Subject: Hacks to get IMAP code to work with CommunigatePro and MS Exchange (and 2000-07-17 Jeffrey Stedfast * providers/imap/camel-imap-folder.c (imap_get_message): Hacks to get IMAP code to work with CommunigatePro and MS Exchange (and any other servers that send back a UID at the end of each FETCH inside of the main body of the message part). (imap_sync): Un-#if 0 the code that sets the flags on the IMAP server for messages that have changed. Oops, don't mask with DELETED to find out if the message has been answered ;-) svn path=/trunk/; revision=4202 --- camel/providers/imap/camel-imap-folder.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'camel/providers') diff --git a/camel/providers/imap/camel-imap-folder.c b/camel/providers/imap/camel-imap-folder.c index b2f6361863..c04fbb38f9 100644 --- a/camel/providers/imap/camel-imap-folder.c +++ b/camel/providers/imap/camel-imap-folder.c @@ -275,7 +275,7 @@ imap_init (CamelFolder *folder, CamelStore *parent_store, CamelFolder *parent_fo CAMEL_IMAP_STORE (store)->current_folder = NULL; } else { - /* parse the mode we opened it in and set as current mailbox */ + /* set as current mailbox */ CAMEL_IMAP_STORE (store)->current_folder = folder; } g_free (result); @@ -301,7 +301,7 @@ imap_sync (CamelFolder *folder, gboolean expunge, CamelException *ex) flags = g_strconcat (info->flags & CAMEL_MESSAGE_SEEN ? "\\Seen " : "", info->flags & CAMEL_MESSAGE_DRAFT ? "\\Draft " : "", info->flags & CAMEL_MESSAGE_DELETED ? "\\Deleted " : "", - info->flags & CAMEL_MESSAGE_DELETED ? "\\Answered " : "", + info->flags & CAMEL_MESSAGE_ANSWERED ? "\\Answered " : "", NULL); if (*flags) { gchar *result; -- cgit v1.2.3