[Net-IMAP-Server] way for mailbox to tell it has been selected?

Alex Vandiver alexmv at bestpractical.com
Mon Dec 7 17:46:00 EST 2009


On Sun, 2009-12-06 at 18:05 -0800, Richard Russo wrote:
> Is there a way for a Mailbox to tell when it has been selected?  I see
> the close method, to let the Mailbox know when it no longer selected,
> but when the Mailbox is selected there is no open, the permanentflags
> looks like the best place to hook into.
> 
> I'm writing an IMAP Proxy backend, so it's helpful to know when I need
> to select something.

There's no callback for that at current, no -- though I'd totally take a
patch for one.  Though such a method should probably provide a way to
differentiate between SELECT and EXAMINE, to be on the safe side.
 - Alex



More information about the Net-IMAP-Server mailing list