Revert "Require inline for inline text"

This reverts commit 8dbf37884f.
This commit is contained in:
M66B 2024-04-10 08:06:09 +02:00
parent 8dbf37884f
commit 9653454018
1 changed files with 1 additions and 1 deletions

View File

@ -5119,7 +5119,7 @@ public class MessageHelper {
String ct = contentType.getBaseType();
if (("text/plain".equalsIgnoreCase(ct) || "text/html".equalsIgnoreCase(ct)) &&
Part.INLINE.equalsIgnoreCase(disposition) &&
!Part.ATTACHMENT.equalsIgnoreCase(disposition) &&
(size <= MAX_MESSAGE_SIZE || size == Integer.MAX_VALUE)) {
parts.text.add(new PartHolder(part, contentType));
} else {