Hacks to get IMAP code to work with CommunigatePro and MS Exchange (and
authorJeffrey Stedfast <fejj@helixcode.com>
Mon, 17 Jul 2000 21:50:11 +0000 (21:50 +0000)
committerJeffrey Stedfast <fejj@src.gnome.org>
Mon, 17 Jul 2000 21:50:11 +0000 (21:50 +0000)
2000-07-17  Jeffrey Stedfast  <fejj@helixcode.com>

* 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

camel/ChangeLog
camel/providers/imap/camel-imap-folder.c

index 7134fdd..6fdbb38 100644 (file)
@@ -4,6 +4,8 @@
        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
 
 2000-07-16  Jeffrey Stedfast  <fejj@helixcode.com>
 
index fb1d1ae..39f6732 100644 (file)
@@ -285,11 +285,10 @@ imap_init (CamelFolder *folder, CamelStore *parent_store, CamelFolder *parent_fo
 static void
 imap_sync (CamelFolder *folder, gboolean expunge, CamelException *ex)
 {
-#if 0
        CamelImapFolder *imap_folder = CAMEL_IMAP_FOLDER (folder);
        gint i, max;
 
-       /* uhhh...this is kinda unsafe so we'll leave it blocked out */
+       /* Set the flags on any messages that have changed this session */
        if (imap_folder->summary) {
                max = imap_folder->summary->len;
                for (i = 0; i < max; i++) {
@@ -332,7 +331,6 @@ imap_sync (CamelFolder *folder, gboolean expunge, CamelException *ex)
                        }
                }
        }
-#endif
        
        if (expunge)
                imap_expunge (folder, ex);