Added attachment section IDs

This commit is contained in:
M66B
2023-06-21 12:23:21 +02:00
parent c20c416730
commit 7d1ca2840f
6 changed files with 2984 additions and 3 deletions

View File

@@ -5040,6 +5040,8 @@ public class MessageHelper {
}
apart.attachment = new EntityAttachment();
if (part instanceof IMAPBodyPart)
apart.attachment.section = ((IMAPBodyPart) part).getSectionId();
apart.attachment.disposition = apart.disposition;
apart.attachment.name = apart.filename;
apart.attachment.type = contentType.getBaseType().toLowerCase(Locale.ROOT);