We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This happens only when tls:true was used in the constructor.
events.js:85 throw er; // Unhandled 'error' event ^ Error: connect ECONNREFUSED at exports._errnoException (util.js:746:11) at TCPConnectWrap.afterConnect [as oncomplete] (net.js:983:19)
The text was updated successfully, but these errors were encountered:
Did you attach an error event handler?
error
Sorry, something went wrong.
Yeah. Snippet below.
var imap=new Imap({user:username,password:password,host:'localhost',port:9993,tls:true,tlsOptions:{rejectUnauthorized:false}}); imap.once('error', function(err) { console.log('imap error',err); });
I can only reproduce this with node v0.12.x. node v0.10 and latest iojs emit the error as expected.
It looks like a regression.
Issue filed.
No branches or pull requests
This happens only when tls:true was used in the constructor.
The text was updated successfully, but these errors were encountered: