Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Parser.js:426 / key = list[i].toLowerCase(); - ERROR #348

Closed
eldiablolives opened this Issue Feb 13, 2014 · 3 comments

Comments

Projects
None yet
2 participants

..../node_modules/imap/lib/Parser.js:426
key = list[i].toLowerCase();
^
TypeError: Object http://www.pinterest.com/topshop= has no method 'toLowerCase'
at Parser.parseFetch

Owner

mscdex commented Feb 13, 2014

Can you set debug: console.log in the config object passed to the constructor and post the output somewhere (try to limit the fetching to just the problematic message if possible)?

Also is this particular (entire raw) email message available somewhere? If not, could you email it as an attachment to mscdex at mscdex dot net?

actually I think it was a library linking issue, I npm updated everything and then it seems to be working , I can't reproduce it past that. I am playing with several accounts that have a representative set of rubbish emails coming in and on one of them it was breaking. I will send you the more detailed log dump if I get the same issue

Owner

mscdex commented Feb 14, 2014

Ok, good to hear it's working :-)

@mscdex mscdex closed this Mar 21, 2014

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