-
-
Notifications
You must be signed in to change notification settings - Fork 274
Closed
Description
I´d like to know of there is some way to parse a MimeMessage
(like EmailConverter.mimeMessageToEmail
) that does not read the contents of all attachments. I have a use case where it is useful to have the Email object but the emails have large attachments that take some time to download from the IMAP server and are not needed.
I suppose it is possible to create an Email object that reads the attachment contents only when they are requested, for example by executing the getAttachments
function.
If this does not exist maybe I will develop it myself unless you think that is not possible for some reason I'm not seeing right now.
Thanks