dcsimg

Is it possible to disable the caching of STATUS command responses?

John Zukowski

Setting the mail.imap.statuscachetimeout property to zero will disable the caching. By default, the cache setting is 1 second (1000).

props.put("mail.imap.statuscachetimeout", "0");