mail message not deleted from inbox even when flagged as DELETED
(nuxeo-platform-mail-core)
-------------------------------------------------------------------------------------------
Key: NXP-3026
URL: http://jira.nuxeo.org/browse/NXP-3026
Project: Nuxeo Enterprise Platform
Issue Type: Bug
Affects Versions: 5.1.6
Reporter: Vincent Dutat
Assignee: Thierry Delprat
Priority: Major
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) {
folder.open(Folder.READ_WRITE);
} else {
folder.open(Folder.READ_ONLY);
}
expunge = expungeOnExit;
}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets