diff --git a/imap-probe.js b/imap-probe.js index 2f6f6f5..593f445 100644 --- a/imap-probe.js +++ b/imap-probe.js @@ -192,7 +192,7 @@ ImapProbe.prototype.probe = function (needle, callback) { debug('Connection ended'); }); - debug('probing for %j', needle); + console.log('probing for %j', needle); // use console because needle has regexp this._connection.once('ready', function () { debug('Connection success'); diff --git a/mailer.js b/mailer.js index 3c3d223..8bd0db5 100644 --- a/mailer.js +++ b/mailer.js @@ -16,7 +16,7 @@ function send(options, callback) { assert.strictEqual(typeof options.subject, 'string'); assert.strictEqual(typeof options.text, 'string'); - debug('Sending email to %s with subject "%s".', options.to, options.subject); + debug('Sending email from %s to %s with subject "%s".', options.from, options.to, options.subject); postmark.send({ 'From': options.from || 'no-reply@cloudron.io',