Fixed separate store connection

pull/152/head
M66B 6 years ago
parent 28c08733dc
commit 2108919b24

@ -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);

@ -167,7 +167,7 @@ public class ViewModelBrowse extends ViewModel {
// 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
Session isession = Session.getInstance(props, null);

Loading…
Cancel
Save