Date: Wed, 24 Apr 2002 12:21:12 -0400 From: Cyrus Daboo <[EMAIL PROTECTED]>
--On Tuesday, April 23, 2002 7:51 PM -0700 Ashley Yakeley <[EMAIL PROTECTED]> wrote: | So what is the best way for an IMAP client to detect recently arrived | mail in a hierarchy of around a thousand mailbox folders? Should it do a | SELECT on each one periodically? Or should it open up 1000 connections, | SELECT a folder and do IDLE on each one? The only sensible choice in this situation is probably STATUS command polling. You'll have to do one command for each mailbox. You could split that up over several connections running in background threads on the client so as not to affect user performance too much. It's also entirely sane to pipeline STATUS commands. I can poll 100+ mailboxes in a few seconds. I think LISTEXT will eventually allow for STATUS information returned with the LIST. Larry