Fix upper case content types

This commit is contained in:
M66B
2018-09-16 14:20:38 +00:00
parent b1b58c0892
commit 66ce3939c3

View File

@@ -441,7 +441,7 @@ public class MessageHelper {
EntityAttachment attachment = new EntityAttachment();
attachment.name = filename;
attachment.type = ct.getBaseType();
attachment.type = ct.getBaseType().toLowerCase();
attachment.size = part.getSize();
attachment.cid = (cid == null || cid.length == 0 ? null : cid[0]);
attachment.part = part;