From fdaa95b59c71721f259baeff7b5a7a831c5c0c21 Mon Sep 17 00:00:00 2001 From: M66B Date: Thu, 28 Oct 2021 12:40:00 +0200 Subject: [PATCH] Increased max message size --- app/src/main/java/eu/faircode/email/MessageHelper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/MessageHelper.java b/app/src/main/java/eu/faircode/email/MessageHelper.java index 80444a789a..672fcf036d 100644 --- a/app/src/main/java/eu/faircode/email/MessageHelper.java +++ b/app/src/main/java/eu/faircode/email/MessageHelper.java @@ -129,7 +129,7 @@ public class MessageHelper { static final String HEADER_CORRELATION_ID = "X-Correlation-ID"; private static final int MAX_HEADER_LENGTH = 998; - private static final int MAX_MESSAGE_SIZE = 10 * 1024 * 1024; // bytes + private static final int MAX_MESSAGE_SIZE = 20 * 1024 * 1024; // bytes private static final long ATTACHMENT_PROGRESS_UPDATE = 1500L; // milliseconds private static final int MAX_META_EXCERPT = 1024; // characters private static final int FORMAT_FLOWED_LINE_LENGTH = 72;