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 during fetching from Dovecot #202

Open
VoxValue opened this issue Feb 7, 2019 · 0 comments
Open

Error during fetching from Dovecot #202

VoxValue opened this issue Feb 7, 2019 · 0 comments

Comments

@VoxValue
Copy link

VoxValue commented Feb 7, 2019

Hi

I use emailjs-imap-client (3.0.7) in order to get back some emails from a Dovecot server (2.3.2.1) on a Node (v11.x). It seems that the login runs correctly, but the fetch fails with the error : item.toUpperCase is not a function (see below).

Thanks in advance for the support

Fred

[DEBUG][...] Connecting to mail.voxvalues.com : 993
[DEBUG][...] Entering state: 1
[DEBUG][...] Socket opened, waiting for greeting from the server...
[DEBUG][...] S: * OK [CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE LITERAL+ AUTH=PLAIN] Dovecot (Ubuntu) ready.
[DEBUG][...] Entering state: 2
[DEBUG][...] Updating id...
[DEBUG][...] C: W1 ID ("name" "emailjs-imap-client")
[DEBUG][...] S: * ID ("name" "Dovecot")
[DEBUG][...] S: W1 OK ID completed.
[DEBUG][...] Server id updated! [object Object]
[DEBUG][...] Logging in...
[DEBUG][...] C: W2 login "(* 24B string )" "( value hidden *)"
[DEBUG][...] S: W2 OK [CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS BINARY MOVE SNIPPET=FUZZY LITERAL+ NOTIFY SPECIAL-USE] Logged in
[DEBUG][...] Entering state: 3
[DEBUG][...] Login successful, post-auth capabilites updated! IMAP4REV1,SASL-IR,LOGIN-REFERRALS,ID,ENABLE,IDLE,SORT,SORT=DISPLAY,THREAD=REFERENCES,THREAD=REFS,THREAD=ORDEREDSUBJECT,MULTIAPPEND,URL-PARTIAL,CATENATE,UNSELECT,CHILDREN,NAMESPACE,UIDPLUS,LIST-EXTENDED,I18NLEVEL=1,CONDSTORE,QRESYNC,ESEARCH,ESORT,SEARCHRES,WITHIN,CONTEXT=SEARCH,LIST-STATUS,BINARY,MOVE,SNIPPET=FUZZY,LITERAL+,NOTIFY,SPECIAL-USE
[DEBUG][...] Connection established, ready to roll!
[DEBUG][...] Fetching messages 1:10 from INBOX ...
[...] [ERROR] ... TypeError: item.toUpperCase is not a function
[DEBUG][...] Entering state: 5
[DEBUG][...] Closing connection...

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

0 participants