Revert "Require inline for inline text"

This reverts commit 8dbf37884f.
play
M66B 3 months ago
parent 8dbf37884f
commit 9653454018

@ -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 {

Loading…
Cancel
Save