Skip to content
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

Multipart true, but not reading the parts #820

Open
ndharris opened this issue Oct 26, 2014 · 3 comments
Open

Multipart true, but not reading the parts #820

ndharris opened this issue Oct 26, 2014 · 3 comments

Comments

@ndharris
Copy link

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

@bf4
Copy link
Contributor

bf4 commented Jan 15, 2015

Congrats on opening your first issue! And this is the first time I've seen the attachment via png extension trick. I like it.

Would you please include your Ruby version, Mail gem version, OS, and code you are using the read the file. Thanks. Also, you may find https://github.com/mikel/mail/blob/master/CONTRIBUTING.md helpful

@ndharris
Copy link
Author

Hi Ben,

Thanks for coming back to me, and apologies for the .png craziness!

Ruby version: ruby 1.8.7 (2008-05-31 patchlevel 0) [x86_64-linux]
Mail gem version: 1.8.15
OS: 2.6.32-042stab090.3

Hope this is what you need.

Thanks again... Neil.

@bf4
Copy link
Contributor

bf4 commented Jan 16, 2015

Wow, that is super old! Will take a liik.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants