-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fails to parse multipart message due to Content-Type header case sensitivity #160
Comments
bcardarella
added a commit
that referenced
this issue
Feb 4, 2024
bcardarella
added a commit
that referenced
this issue
Feb 4, 2024
Can you try |
@bcardarella Latest commit on I've run my regression tests on emails that previously failed to have their 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! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
The text was updated successfully, but these errors were encountered: