0 votes
by (150 points)
edited

Hi,

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
by (147k points)
edited
 
Best answer

Thanks!

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.

...