-
Type: Bug
-
Status: Open
-
Priority: Major
-
Resolution: Unresolved
-
Affects Version/s: 5.1.6
-
Fix Version/s: Postponed
-
Component/s: IMAP Connector
-
Tags:
when using addon nuxeo-platform-mail-core, mail messages are never removed from mail inbox even when mail message flag is set to DELETED (done by a new MessageAction). Class MailBoxActionsImpl needs a few modification to achieve deletion. The reason is that mailbox folder is open in READONLY mode. Here is the new constructor :
public MailBoxActionsImpl(Folder folder, boolean expungeOnExit)
throws MessagingException {
this.folder = folder;
if (expungeOnExit)
else
{ folder.open(Folder.READ_ONLY); } expunge = expungeOnExit;
}