IDLE Command Support

0 votes
asked Sep 20, 2010 by Norbert (150 points)
edited Mar 21, 2011


I've to say that your lib is really really awesome. But I have one little problem with the IDLE Command of IMAP Servers.

How can I check for new received Mails in "real-time"?

Thanks a lot, Norbert

Applies to: Rebex Secure Mail

1 Answer

0 votes
answered Sep 20, 2010 by Lukas Pokorny (124,970 points)
edited Sep 20, 2010
Best answer


IDLE command is used by Imap object's CheckForUpdates(int duration) method if it's available (if it isn't, the NOOP command is used to simulate equivalent functionality).

This method enters the IDLE state of the specified duration (in miliseconds). Please check out the method documentation for additional information.