Added debug option to disable idle/done

This commit is contained in:
M66B
2021-10-23 07:46:59 +02:00
parent 17ac5b7b22
commit cfd6eadf90
6 changed files with 33 additions and 4 deletions

View File

@@ -213,6 +213,9 @@ public class EmailService implements AutoCloseable {
properties.put("mail." + protocol + ".timeout", Integer.toString(timeout * factor));
}
boolean idle_done = prefs.getBoolean("idle_done", true);
properties.put("mail.idledone", Boolean.toString(idle_done));
if (debug && BuildConfig.DEBUG)
properties.put("mail.debug.auth", "true");