mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-27 19:35:10 +01:00
Require inline for inline text
This commit is contained in:
@@ -5119,7 +5119,7 @@ public class MessageHelper {
|
||||
|
||||
String ct = contentType.getBaseType();
|
||||
if (("text/plain".equalsIgnoreCase(ct) || "text/html".equalsIgnoreCase(ct)) &&
|
||||
!Part.ATTACHMENT.equalsIgnoreCase(disposition) &&
|
||||
Part.INLINE.equalsIgnoreCase(disposition) &&
|
||||
(size <= MAX_MESSAGE_SIZE || size == Integer.MAX_VALUE)) {
|
||||
parts.text.add(new PartHolder(part, contentType));
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user