MailCore / mailcore2

MailCore 2 provide a simple and asynchronous API to work with e-mail protocols IMAP, POP and SMTP. The API has been redesigned from ground up.
Other
2.58k stars 623 forks source link

Android - How to get the basic information of attachments #1970

Closed gnmmdk closed 1 year ago

gnmmdk commented 1 year ago

I want to get the information of the attachment in the mailbox - file name, file size, as follows: image

I see [issuse # 1635], but it may only be applicable to iOS and not android. In Android, abstractPart cannot be converted to Attachment: image image

gnmmdk commented 1 year ago

I got the file size by converting AbstractPart to IMAPart