Hi all
I'm learning how to handle mails with JSP. I got the following code, which is quite clear to me:
...
Flags flagMessage = new Flags(Flags.Flag.DELETED);
msgFolder.setFlags(a,a,flagMessage,true);
msgFolder.close(true);
...
the only question is: why do i have to set the flag to override the chosen falgs 2 times to true? i have to do it in setFlags() and in close()! why that? what's the point behind that?
sorry, i'm still a beginner. :) thanks for help!
Josh