[ 
https://jira.nuxeo.org/browse/NXP-3026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=83604#action_83604
 ] 

Stéfane Fermigier commented on NXP-3026:
----------------------------------------

Can you check if this is still open?

> mail message not deleted from inbox even when flagged as DELETED 
> (nuxeo-platform-mail-core)
> -------------------------------------------------------------------------------------------
>
>                 Key: NXP-3026
>                 URL: https://jira.nuxeo.org/browse/NXP-3026
>             Project: Nuxeo Enterprise Platform
>          Issue Type: Bug
>          Components: Mail
>    Affects Versions: 5.1.6
>            Reporter: Vincent Dutat
>            Assignee: Laurent Doguin
>            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: 
https://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

Reply via email to