parsemail
parsemail copied to clipboard
Handle missing Content-Type in multipart/alternative as plain text
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