Comments on: IMAP IDLE: instant push email notifications https://www.limilabs.com/blog/imap-idle Using Limilabs .net components Fri, 28 Feb 2014 09:28:30 +0000 hourly 1 https://wordpress.org/?v=6.6.5 By: Limilabs support https://www.limilabs.com/blog/imap-idle#comment-589170 Sat, 21 Dec 2013 10:31:31 +0000 http://www.limilabs.com/blog/?p=831#comment-589170 In reply to Ajay.

@Ajay,

1. Not all servers report such changes.
2. After IDLE returns you can perform any operation, including Flag.Unseen search. You can also download most important email information for 100 most recent emails: http://www.limilabs.com/blog/get-email-information-from-imap-fast
3. You can also examine Imap.CurrentFolder property. It contains properties such as Expunge, Recent, MessageCount

]]>
By: Ajay https://www.limilabs.com/blog/imap-idle#comment-588846 Fri, 20 Dec 2013 06:30:36 +0000 http://www.limilabs.com/blog/?p=831#comment-588846 Hi,

For getting new emails, I am just searching mails with UID greater than last sync everytime I get response from IMAP.IDLE. But How can I use IMAP IDLE to get the specific updates like message read/unread changes, deleted emails?

Regards,
Ajay

]]>
By: Limilabs support https://www.limilabs.com/blog/imap-idle#comment-585213 Thu, 05 Dec 2013 13:07:49 +0000 http://www.limilabs.com/blog/?p=831#comment-585213 In reply to Howard.

@Howard,

You can find more details on “Tried to read a line…” error here:
http://www.limilabs.com/blog/tried-to-read-a-line-only-received

Basically, it means that either server disconnected or you have had a small connection problem – which is understandable if you maintain a connection for several hours.

If you receive such error the only thing you can do is to simply reconnect.

]]>
By: Howard https://www.limilabs.com/blog/imap-idle#comment-585101 Thu, 05 Dec 2013 01:15:24 +0000 http://www.limilabs.com/blog/?p=831#comment-585101 I am using idle with Gmail and it works flawlessly for a couple of hours. Then I get “Unhandled exception: Tried to read a line. No data received.” Then it quits and I have to manually restart the program.

]]>
By: Gmail’s POP3 behavior | Blog | Limilabs https://www.limilabs.com/blog/imap-idle#comment-12050 Thu, 10 May 2012 10:14:49 +0000 http://www.limilabs.com/blog/?p=831#comment-12050 […] use push email […]

]]>
By: Limilabs support https://www.limilabs.com/blog/imap-idle#comment-4877 Thu, 15 Mar 2012 12:49:39 +0000 http://www.limilabs.com/blog/?p=831#comment-4877 In reply to saqib.

@Saqib,

If you download the message (GetMessageByUID) usually server marks it as seen automatically.

You can also use MarkMessageSeenByUID method:
http://www.limilabs.com/blog/mark-emails-as-read-with-imap

Take a look at all Mail.dll samples, most likely you’ll find the code you need there.

]]>
By: saqib https://www.limilabs.com/blog/imap-idle#comment-4854 Thu, 15 Mar 2012 08:13:31 +0000 http://www.limilabs.com/blog/?p=831#comment-4854 hello

sir,when i access email through email.idle notification,i want also mark the email to read
can you tell me how can i do this

]]>
By: Download emails from Gmail via POP3 https://www.limilabs.com/blog/imap-idle#comment-1455 Sun, 15 Jan 2012 12:44:57 +0000 http://www.limilabs.com/blog/?p=831#comment-1455 […] use push email […]

]]>
By: Limilabs support https://www.limilabs.com/blog/imap-idle#comment-1454 Sun, 08 Jan 2012 19:52:43 +0000 http://www.limilabs.com/blog/?p=831#comment-1454 In reply to Scott.

@Scott

You can use any folder name:

client.Select("All Mail")

In case of Gmail you may want to use CommonFolders class to get the All Mail folder name:
http://www.limilabs.com/blog/localized-gmail-imap-folders

> Is there a way to find out which email goes with which folder in this case?
In case of Gmail you can get all labels for specified message:
http://www.limilabs.com/blog/get-gmail-labels-for-specified-messages

]]>
By: Scott https://www.limilabs.com/blog/imap-idle#comment-1453 Sat, 07 Jan 2012 23:27:23 +0000 http://www.limilabs.com/blog/?p=831#comment-1453 Is there a command where client.SelectInbox() can be replaced so that you can get the all mail folder instead? I figure that would be better so that only one IDLE connection is required for an account. Is there a way to find out which email goes with which folder in this case?

]]>