1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-26 01:36:55 +00:00

Set fetch size to 48 KB

This commit is contained in:
M66B 2018-09-16 14:35:27 +00:00
parent 5c2bcaf43b
commit a64ce7b4c6

View file

@ -92,7 +92,7 @@ public class MessageHelper {
//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
props.put("mail.smtps.ssl.checkserveridentity", "true");