Closed MarcoCatalan closed 6 years ago
https://github.com/emailjs/emailjs-imap-client/blob/master/src/imap.js#L402 On this line, the value of this.ON_DATA_TIMEOUT is undefined, which, will cause the setTimeout to resolve as soon as posible, and, in some ocasions, end the connection with a 'Socket timed out'
I am having the same issue.
yep, it seems this was in there before the refactoring and I've missed to fix this line for some weird reason.
Released in v3.0.4
https://github.com/emailjs/emailjs-imap-client/blob/master/src/imap.js#L402 On this line, the value of this.ON_DATA_TIMEOUT is undefined, which, will cause the setTimeout to resolve as soon as posible, and, in some ocasions, end the connection with a 'Socket timed out'