in reply to IMAP IDLE Support

A quick search to http://search.cpan.org with "IMAP" and "IDLE" in the search box tells you what you want to know: now, and forever. What happened when you tried that? Please try not to be lazy: it ruins this place for all of us.

Replies are listed 'Best First'.
Re^2: IMAP IDLE Support
by stu42j (Sexton) on Nov 26, 2007 at 21:25 UTC

    My most sincere apologies. I probably should have made my message a little more verbose.

    I did, of course, search CPAN which returns two hits. IMAP::Client specifically mentions that it does not support idle. Mail::IMAPClient supports the IDLE/DONE commands but I can't find anything in the docs to explain how to actually make use of it. Idle is not really useful unless there is some way to trigger a callback when the server notifies that new messages are available. As far as I can tell Mail::IMAPClient does not support this. If I missed something, I will apologize once again.

      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.

        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.