Re: Dev - modifying JavaMailContainer to keep messages on server

Posted by David E. Jones on
URL: http://ofbiz.116.s1.nabble.com/Dev-modifying-JavaMailContainer-to-keep-messages-on-server-tp168022p168023.html


Yes, that would be nice to configure. If you have a chance to work on it I'll keep an eye out for the patch. Hopefully I'll get caught up on those this weekend...

-David


Si Chen wrote:

> Hi.
>
> I'm reading through the JavaMailContainer.java code and see it do
>
> messages[i].setFlag(Flags.Flag.DELETED, true);
>
> and then
>
> folder.close(true);
>
> which basically deletes the messages off the server.  Would you like a
> change where in base/config/ofbiz-containers.xml we can add a parameter
> to control whether messages are deleted off the server or not, so you
> can keep them on the server after they've been read into OFBiz?
>
> Si
>
>  
> _______________________________________________
> Dev mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/dev
 
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev