mail-mime-parser icon indicating copy to clipboard operation
mail-mime-parser copied to clipboard

How to extract and save inline images attachments?

Open thiagobit opened this issue 4 years ago • 1 comments

Hello!

I'm working with this library and I can extract and save attachments, but now I want to do the same with inline images. Is there an easy way to do it with this library?

Thanks in advance.

thiagobit avatar Jul 07 '21 19:07 thiagobit

Hi @thiagobit --

Message::getAllAttachments excludes only 'inline text' and 'multipart' parts, so an inline image should be returned. The documentation's not very clear on it though (working on improving that).

zbateson avatar Aug 06 '21 06:08 zbateson