summaryrefslogtreecommitdiffstats
path: root/lib/sendgrid.js
diff options
context:
space:
mode:
authorKyle Partridge <partkyle@gmail.com>2012-02-09 20:12:43 -0800
committerKyle Partridge <partkyle@gmail.com>2012-02-09 20:12:43 -0800
commit7205f59f0f034ec8d2caca83552974af7b05d68c (patch)
treed03116c7b1709237a230f521d60adf0cf83d7e2b /lib/sendgrid.js
parent1fb29ec13e6f9988f085a84db7c6b7cbf35c23d8 (diff)
downloadsendgrid-nodejs-7205f59f0f034ec8d2caca83552974af7b05d68c.zip
sendgrid-nodejs-7205f59f0f034ec8d2caca83552974af7b05d68c.tar.gz
sendgrid-nodejs-7205f59f0f034ec8d2caca83552974af7b05d68c.tar.bz2
remove console.log
Diffstat (limited to 'lib/sendgrid.js')
-rw-r--r--lib/sendgrid.js5
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);