Re: Setting Message Flags in Mailet? (Proposed Fix)

2019-10-28 Thread Tellier Benoit
Looks great! You are very welcome to propose a pull request regarding this. Benoit On 26/10/2019 10:19, Jerry Malcolm wrote: > I have located the code that is apparently causing this problem. It's an > easy fix, and it's now working for me.  But I would like to get > verification from some

Re: Setting Message Flags in Mailet? (Proposed Fix)

2019-10-25 Thread Jerry Malcolm
I have located the code that is apparently causing this problem. It's an easy fix, and it's now working for me.  But I would like to get verification from some more-seasoned JAMES developers to make sure I'm not violating any architectures. Class: MailBoxAppender.java; Method:

Setting Message Flags in Mailet?

2019-10-23 Thread Jerry Malcolm
I have a mailet that needs to set the $label3 message flag in certain emails going through the pipeline prior to being stored in the repository.  In my mailet:    mail.getMessage().setFlags(new Flags("$label3"), true);         mail.getMessage().saveChanges(); But the flags are not being