Browse Source

Set fetch size to 48 KB

main
M66B 6 years ago
parent
commit
a64ce7b4c6
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/src/main/java/eu/faircode/email/MessageHelper.java

+ 1
- 1
app/src/main/java/eu/faircode/email/MessageHelper.java View File

@ -92,7 +92,7 @@ public class MessageHelper {
//props.put("mail.imaps.compress.strategy", "0"); //props.put("mail.imaps.compress.strategy", "0");
} }
props.put("mail.imaps.fetchsize", Integer.toString(64 * 1024)); // default 16K
props.put("mail.imaps.fetchsize", Integer.toString(48 * 1024)); // default 16K
// https://javaee.github.io/javamail/docs/api/com/sun/mail/smtp/package-summary.html#properties // https://javaee.github.io/javamail/docs/api/com/sun/mail/smtp/package-summary.html#properties
props.put("mail.smtps.ssl.checkserveridentity", "true"); props.put("mail.smtps.ssl.checkserveridentity", "true");


Loading…
Cancel
Save