Why can't I open an IMAP folder in READ_WRITE mode at the same time as having Netscape Communicator running (in IMAP mode)? I understand that Netscape must have a lock on the folder, but how is it that other clients can do it, like Netscape and Outlook? Is there any way of doing this?

Dieter Wimberger

Most provider implementations allow multiple readers, but only one writer.
Netscape opens the folder in READ_WRITE mode, so if you try to do that too, you will get a MessagingException.
You can only open the folder in READ_ONLY or you can try to switch to another provider implementation.
However, it is never a good idea to write concurrently to some resource, even with transactions you have to handle lost-update problems bubbling up.