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

Error fetching attachments #27

Open
sprsoft opened this issue Jul 30, 2013 · 0 comments
Open

Error fetching attachments #27

sprsoft opened this issue Jul 30, 2013 · 0 comments

Comments

@sprsoft
Copy link

sprsoft commented Jul 30, 2013

I cannot retrive basic attachments from an email. The only ones that can be managed are those who are embeded into the HTML body. All others attachments are not processed because the content-type of those lines from IMAP are declared as plain/text

So next line from mailparser.js will set the flag to false:

textContent = ["text/plain", "text/html"].indexOf(
          this._currentNode.meta.contentType || "") >= 0;
...
...
this._currentNode.attachment = false;

I know it's not a bug related directly with your project but it's so generic that i cannot understand that nobody has ever got it

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

No branches or pull requests

1 participant