I use node v0.4.8 and I have an error with this stack trace :
node.js:134
throw e; // process.nextTick error, or 'error' event on first tick
^
Error: ECONNREFUSED, Connection refused
at Socket._onConnect (net.js:601:18)
at IOWatcher.onWritable as callback
Perhaps you can fix this with add this code to ./node-mail/lib/smtp.js l.66:
Hi,
I use node v0.4.8 and I have an error with this stack trace :
node.js:134 throw e; // process.nextTick error, or 'error' event on first tick ^ Error: ECONNREFUSED, Connection refused at Socket._onConnect (net.js:601:18) at IOWatcher.onWritable as callback
Perhaps you can fix this with add this code to ./node-mail/lib/smtp.js l.66:
..... this.sock .on('error', function(err) { self.emit('error', err); }) .once('connect', function() { .......
What do you think ?