Hello.
I'am working on a little IMAP application to allow users to manipulate the mails in several
IMAP accounts (a mini Outlook app).
The first version allows the user to manipulate one account at a time.
All was fine. Perfect. Your component is amazing!
I am working in a second version that allows the user to work with several accounts at the same time.
I have an open Imap object for each account.
All is working well except deleting and moving messages to trash.
Before deleting a message I select the folder where the message is located.
In these commands it appears a 'Permission denied' error.
To test the app I'm working with three IMAP accounts at the same time.
At start I open the applications with these sequence:
1) open connection to imap server
2) read the folders on imap server and syncrhronize with local database
3) for each folder I read the uids of all messages and syncrhonize with local database
Once initialization is complete the uses can select any folder on any account to display the messages on that folder.
I read parts of the message when is needed, using the Imap object corresponding to the folder.
All seems correct, but the problem arises at deleting.
I only can delete from the last open IMAP account.
It seems that the last account writes something on memory, is there something static on your code?