Set default maximum attachment download size to 64 KB

This commit is contained in:
M66B
2019-04-07 07:58:34 +02:00
parent 7b5b300e98
commit d3761184fe
4 changed files with 4 additions and 3 deletions

View File

@@ -71,6 +71,7 @@ public class MessageHelper {
private final static int POOL_TIMEOUT = 45 * 1000; // milliseconds, default 45 sec
static final int ATTACHMENT_BUFFER_SIZE = 8192; // bytes
static final int DEFAULT_ATTACHMENT_DOWNLOAD_SIZE = 65536; // bytes
static void setSystemProperties() {
System.setProperty("mail.mime.decodetext.strict", "false");