diff options
Diffstat (limited to 'lib/sendgrid.js')
-rw-r--r-- | lib/sendgrid.js | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/sendgrid.js b/lib/sendgrid.js index 6b34e13..37b11d5 100644 --- a/lib/sendgrid.js +++ b/lib/sendgrid.js @@ -112,7 +112,6 @@ SendGrid.prototype.send = function(email, callback) { SendGrid.prototype.smtp = function(email, callback) { var self = this; - console.log('sending via stmp'); // SMTP settings nodemailer.SMTP = { host: 'smtp.sendgrid.net', @@ -123,9 +122,7 @@ SendGrid.prototype.smtp = function(email, callback) { }; function send_smtp() { - console.log('in send_smtp'); nodemailer.send_mail(email.toSmtpFormat(), function(error, success) { - console.log('sended email'); callback.call(self, success, error); }); } @@ -136,9 +133,7 @@ SendGrid.prototype.smtp = function(email, callback) { if (_.size(email.files) > 0) { email.processFiles(function(success, message) { - console.log('date: %s', new Date()); if (success) { - console.log('success!!'); send_smtp(); } else { callback(false, message); |