Hi Zhang,

When you mark a flag as DELETED it is not removed from mail server. It
is done when the EXPUNGE command is used.

Cheers,

Benoit

Le 19/09/2016 à 06:10, Guofeng Zhang a écrit :
> Hi,
> 
> When a message is deleted, the current usage of Qutoa size is not changed.
> 
> We use the following JavaMail code to remove messages:
> 
>  Message m = folder.getMessage(i);
> 
>  m.setFlag(FLAGS.Flag.DELETED, true);
> 
>  ...
> 
> folder.close(true);
> 
> What we did it improperly?
> 
> Thanks for your help!
> 
> Guofeng
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org
> For additional commands, e-mail: server-user-h...@james.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org
For additional commands, e-mail: server-user-h...@james.apache.org

Reply via email to