I need a .net IMAP Library that downloads the messages in a gmail folder one by one not all at once.
That’s because when I connect to the gmail account and try to download the messages in a folder, the application hangs until all the messages in that folder are downloaded into the memory so that if the connection disconnected, the whole process fails.
Any decent IMAP client allows you download 1 message at time.
Normally you should only get only 1 message at time, otherwise if thousands of messages, you run out of memory.
It depens on application, if you run UI apllication, you should run IMAP on different thread, to keep UI not freezing.