mikel / mikel/mail

Multipart true, but not reading the parts

Open
#820 3 comments 1 reaction 0 assignees View on GitHub
Waiting on reply
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.

![2014-10-26--05-34-43--672593136](https://cloud.githubusercontent.com/assets/6492991/4784491/b28c3794-5d57-11e4-8df2-48a30fe2f49f.png)

Contributor guide

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.