BreakHead
BreakHead

Reputation: 10672

Implementing IMAP Idle using Rebex in .Net

I have created a .net mail client application using Rebex library and want to implement something like 'push mail' system and I came to know IMAP allow this which is called as IMAP IDLE, any one having any idea how can I implement this in my application, looking for example.

Thanks

Upvotes: 1

Views: 535

Answers (1)

Lukas Pokorny
Lukas Pokorny

Reputation: 1558

Rebex IMAP does support IDLE - use Imap object's CheckForUpdates(int duration) method - this instructs the IMAP session to the IDLE state for the specified amount of miliseconds. Please note that for duration values less than 10 ms, NOOP is used instead of IDLE. With IDLE, you generally want to stay in the IDLE stay for long intervals.

Upvotes: 2

Related Questions