Download small messages inline

This commit is contained in:
M66B
2019-07-14 21:34:43 +02:00
parent 52c16a52ed
commit d2f25ad652
2 changed files with 32 additions and 5 deletions

View File

@@ -84,8 +84,10 @@ public class MessageHelper {
private static final int APPEND_BUFFER_SIZE = 4 * 1024 * 1024; // bytes
static final int SMALL_MESSAGE_SIZE = 32 * 1024; // bytes
static final int ATTACHMENT_BUFFER_SIZE = 8192; // bytes
static final int DEFAULT_ATTACHMENT_DOWNLOAD_SIZE = 262144; // bytes
static final int DEFAULT_ATTACHMENT_DOWNLOAD_SIZE = 256 * 1024; // bytes
static void setSystemProperties() {
System.setProperty("mail.mime.decodetext.strict", "false");