Disabled close folders on IMAP store failure

This commit is contained in:
M66B 2019-10-12 13:40:52 +02:00
parent 680dc6186a
commit 16311dbafb
1 changed files with 1 additions and 0 deletions

View File

@ -108,6 +108,7 @@ public class MailService implements AutoCloseable {
properties.put("mail." + protocol + ".connectionpooltimeout", Integer.toString(POOL_TIMEOUT)); properties.put("mail." + protocol + ".connectionpooltimeout", Integer.toString(POOL_TIMEOUT));
properties.put("mail." + protocol + ".finalizecleanclose", "false"); properties.put("mail." + protocol + ".finalizecleanclose", "false");
properties.put("mail." + protocol + ".closefoldersonstorefailure", "false");
// https://tools.ietf.org/html/rfc4978 // https://tools.ietf.org/html/rfc4978
// https://docs.oracle.com/javase/8/docs/api/java/util/zip/Deflater.html // https://docs.oracle.com/javase/8/docs/api/java/util/zip/Deflater.html