Fixed separate store connection

This commit is contained in:
M66B
2019-03-02 19:38:55 +00:00
parent 28c08733dc
commit 2108919b24
2 changed files with 3 additions and 3 deletions

View File

@@ -291,7 +291,7 @@ public class ServiceUI extends IntentService {
// Get properties
Properties props = MessageHelper.getSessionProperties(account.auth_type, account.realm, account.insecure);
props.put("mail." + protocol + ".separatestoreconnection", true);
props.put("mail." + protocol + ".separatestoreconnection", "true");
// Create session
final Session isession = Session.getInstance(props, null);
@@ -361,7 +361,7 @@ public class ServiceUI extends IntentService {
// Get properties
Properties props = MessageHelper.getSessionProperties(account.auth_type, account.realm, account.insecure);
props.put("mail." + protocol + ".separatestoreconnection", true);
props.put("mail." + protocol + ".separatestoreconnection", "true");
// Create session
final Session isession = Session.getInstance(props, null);