Archived Forum Post

Index of archived forum posts

Question:

IMAP IDLE (real time server changes)

May 07 '14 at 06:48

Hello,

Does Chilkat Imap class support IMAP IDLE feature or how can I know about imap server changes in real-time?


Accepted Answer

This is not a feature in Chilkat IMAP at this time. I don't know if/when IDLE will be supported, or how it might be exposed in a useful way in an API. Even if IDLE was sent, your app would still need to periodically call something to see if data had arrived on the connection, and then it would somehow have to know what to do with the various types of untagged responses that might be present...


Answer

Yes, IMAP IDLE functionality is available. I added explanatory examples (in addition to the information in the online reference documentation)

Android: Using IMAP IDLE to Wait for Updates

C: Using IMAP IDLE to Wait for Updates

C#: Using IMAP IDLE to Wait for Updates

C++: Using IMAP IDLE to Wait for Updates

Classic ASP: Using IMAP IDLE to Wait for Updates

Delphi ActiveX: Using IMAP IDLE to Wait for Updates

Delphi DLL: Using IMAP IDLE to Wait for Updates

Java: Using IMAP IDLE to Wait for Updates

MFC: Using IMAP IDLE to Wait for Updates

Objective-C: Using IMAP IDLE to Wait for Updates

Perl: Using IMAP IDLE to Wait for Updates

PHP ActiveX: Using IMAP IDLE to Wait for Updates

PHP Extension: Using IMAP IDLE to Wait for Updates

PowerShell: Using IMAP IDLE to Wait for Updates

Python: Using IMAP IDLE to Wait for Updates

Ruby: Using IMAP IDLE to Wait for Updates

SQL Server: Using IMAP IDLE to Wait for Updates

Unicode C: Using IMAP IDLE to Wait for Updates

Unicode C++: Using IMAP IDLE to Wait for Updates

VB.NET: Using IMAP IDLE to Wait for Updates

VBScript: Using IMAP IDLE to Wait for Updates

Visual Basic 6.0: Using IMAP IDLE to Wait for Updates

Visual FoxPro: Using IMAP IDLE to Wait for Updates