Re: Force IMAP server to refresh message flags?

Shawn Walker <[email protected]>
Newsgroups gmane.mail.imap.uw.c-client
Message-ID <[email protected]>
Never mind, I see that I can do a ".select foldername" to refresh the cache.

Regards,
Shawn

On 12/17/2009 11:37 AM, Shawn Walker wrote:
> How does the client tell the server to refresh the message flags?  The
> client is multithreaded and that we have multiple connections to the
> server (2). We have a situation where the client mark a message as read
> in one thread, but when the synchronize the folder, the client send ".
> UID FETCH 15402 FLAGS", the server send back "* 5261 FETCH (FLAGS
> (\Answered) UID 15402)" which mean that the message is unseen for that
> connection.
>
> Obviously the IMAP server is caching the flags for the connection, but I
> need it to dump the cache or refresh the message cache, but without
> logging out and log back in every time the client want to get the
> message flags.
>
> Regards,
> Shawn
> _______________________________________________
> Imap-uw mailing list
> [email protected]
> http://mailman2.u.washington.edu/mailman/listinfo/imap-uw
_______________________________________________
Imap-uw mailing list
[email protected]
http://mailman2.u.washington.edu/mailman/listinfo/imap-uw
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.