parsemail icon indicating copy to clipboard operation
parsemail copied to clipboard

Added parsing attachments in non-multipart emails

Open ischekoldin opened this issue 4 years ago • 2 comments

There are emails with no text in the body that contain only a binary attachment. Mail clients handle those as proper attachments yet parsemail doesn't recognize them.

ischekoldin avatar Jan 14 '21 13:01 ischekoldin

Hello, @ischekoldin - thanks for this, it's exactly what I needed 🙌

@DusanKasan what can be done so this merged in? (thanks for the great library too, by the way)

Aside from the incorrect go.mod file - do we need some test coverage added around this use case? Happy to help towards getting this merged, as I'd much rather use your project as an upstream than using relying on a fork to use these changes.

Lngramos avatar Mar 14 '21 15:03 Lngramos

p.s. have also just come across https://github.com/DusanKasan/parsemail/pull/25 which looks like that may also address this use case, indirectly.

Lngramos avatar Mar 14 '21 16:03 Lngramos