parsemail icon indicating copy to clipboard operation
parsemail copied to clipboard

Handle missing Content-Type in multipart/alternative as plain text

Open drcrallen opened this issue 11 months ago • 0 comments

I encountered an email with a blank entry in a multipart/alternative section.

I did not check the spec to see if this is the best way to handle this error but it works in my situation and in the new test case.

Prior to this change:

mime: no media type

After this change:

Tests Pass

drcrallen avatar Mar 07 '24 19:03 drcrallen