Share IMAP store connection

pull/184/head
M66B 4 years ago
parent eb130c7a42
commit c7d399b730

@ -197,7 +197,7 @@ public class EmailService implements AutoCloseable {
properties.put("mail.imap.starttls.enable", "true");
properties.put("mail.imap.starttls.required", Boolean.toString(!insecure));
properties.put("mail." + protocol + ".separatestoreconnection", "true");
properties.put("mail." + protocol + ".separatestoreconnection", "false");
properties.put("mail." + protocol + ".connectionpool.debug", "true");
properties.put("mail." + protocol + ".connectionpoolsize", "1");
properties.put("mail." + protocol + ".connectionpooltimeout", Integer.toString(POOL_TIMEOUT));

Loading…
Cancel
Save