Permalink
Browse files

HELO fix

  • Loading branch information...
1 parent 9f49e6e commit 0ee096159bcca9783ee952ca75116ed67d18faa4 andris9 committed Jul 26, 2011
Showing with 3 additions and 3 deletions.
  1. +1 −1 lib/mail.js
  2. +1 −1 lib/smtp.js
  3. +1 −1 package.json
View
@@ -7,7 +7,7 @@ var SMTPClient = exports.SMTPClient = require("./smtp").SMTPClient,
* Version constants
*/
var X_MAILER_NAME = "Nodemailer",
- X_MAILER_VERSION = "0.1.21; +http://www.nodemailer.org";
+ X_MAILER_VERSION = "0.1.22; +http://www.nodemailer.org";
/**
* mail
View
@@ -556,7 +556,7 @@ SMTPClient.prototype._handshake = function(callback){
if(error){
// fallback to HELO
- this._sendCommand("HELO "+this.hostname, (function(error, data){
+ return this._sendCommand("HELO "+this.hostname, (function(error, data){
if(error){
this.emit("error", error);
this.close();
View
@@ -1,7 +1,7 @@
{
"name": "nodemailer",
"description": "Easy to use module to send e-mails, supports unicode and SSL/TLS",
- "version": "0.1.21",
+ "version": "0.1.22",
"author" : "Andris Reinman",
"maintainers":[
{

0 comments on commit 0ee0961

Please sign in to comment.