Posted on 2009-06-09 06:39:35-07 by dsch04
Using IMAP Idle

Hi,

I see that this module supports the IMAP Idle feature.

As I understand it, this means the client can go into an idle state and wait for a new message notification from the server.

What I'm stuck on is how to trap such a notification. Do I need to set some sort of callback? Will I need some sort of event loop on the client side?

Can anyone offer an example of how to use this feature?

Thanks,

R.

Direct Responses: Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.