Permalink
Browse files

Merge pull request #51 from deoxxa/fix-421-response

fixes 421 response handling (smtp is not defined)
  • Loading branch information...
2 parents b43fc78 + d45ea50 commit b501ea26fc5991e66c1861925cebdfc87ff8af88 @andris9 andris9 committed Nov 21, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/engines/SMTP.js
View
@@ -657,6 +657,7 @@ SMTPClient.prototype._starttlsHandler = function(callback){
* login function on success.
**/
SMTPClient.prototype._handshake = function(callback){
+ var smtp = this;
this.emit("connect");
this._sendCommand("EHLO "+this.hostname, (function(error, data){

0 comments on commit b501ea2

Please sign in to comment.