mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-01 22:56:33 +02:00
Added attachment section IDs
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user