Skip to content

Commit

Permalink
Adding unhandled errors to both helo and ehlo commands.
Browse files Browse the repository at this point in the history
  • Loading branch information
miksago committed Jan 15, 2010
1 parent e37deb0 commit 8c1b9c6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/smtp/client.js
Expand Up @@ -107,6 +107,9 @@ Client.prototype.helo = function(){
case "550":
throw SMTPError["550"];
break;
default:
throw SMTPError["unhandled"];
break;
}
});
};
Expand All @@ -126,6 +129,9 @@ Client.prototype.ehlo = function(){
case "550":
throw SMTPError["550"];
break;
default:
throw SMTPError["unhandled"];
break;
}
});
};
Expand Down

0 comments on commit 8c1b9c6

Please sign in to comment.