Multipart true, but not reading the parts
- Dominant language
- Ruby
- Stars
- 3.7k
- Forks
- 934
- PR merge metrics
- No merged PRs in 30d
Description
Hi, this is the first GitHub issue I have ever raised, so apologies if I do not follow protocol!
Essentially, I am regularly finding that Mail is unable to read my system's emails. In the case of the attached file (I have saved it as a .PNG in order to upload it to GitHub, but it is in fact a text file), Mail is saying this is a multipart email, but parts.count = 0. I am seeing this a lot - multipart emails with no parts. As a result, mail parsing is resulting in no body.
Would be great if someone can help out with this. Thanks. Neil.

Contributor guide
Research direction
Start by using the attached text sample as a multipart-email fixture and confirm why it reports parts.count = 0 and produces no body. Trace the multipart parsing entry point, then add a regression test that defines the expected parts and parsed body before considering a fix.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ruby
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100