in reply to Re^2: IMAP IDLE Support
in thread IMAP IDLE Support

18-months later, and I'm in the same boat as stu42j.

I've searched and found Mail::IMAPClient, and also this node.

But, I too can't find anything in the docs that explains how to use the IDLE/DONE commands. There seems to be no way to trap any new message notification from the server when in an idle state.

Anyone got any ideas?

R.

Replies are listed 'Best First'.
Re^4: IMAP IDLE Support
by Anonymous Monk on Jul 07, 2011 at 00:09 UTC
    If you are still looking for the answer just check in the test file: http://cpansearch.perl.org/src/MARKOV/Mail-IMAPClient-3.16/t/basic.t Down near the bottom you see the test for idle.