Closed alexpls closed 8 months ago
Can you try main
?
@bcardarella Latest commit on master
branch works!
I've run my regression tests on emails that previously failed to have their Content-type
parsed and they now work as expected.
Thanks for fixing this, and for responding so quickly!
Don't thank me, thank the gummies I took two hours ago 🚀
Would be great to have a release!
Version
0.3.1
Test Case
Expected Behavior
I can parse a multipart email whose content type header's case is
Content-type
.Actual Behavior
I can't. Only emails where the header case is exactly
Content-Type
will be parsed.Email headers aren't required to be case sensitive, and indeed I've observed mail servers in the wild sending messages with headers like
Content-type
instead ofContent-Type
. When this happens, elixir-mail fails to parse the message as multipart.This relates to #148