From 91e899410910df36c60e51dd1e7f5f1df7d01904 Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Fri, 24 Jun 2016 11:02:48 -0500 Subject: [PATCH] more debugs --- cloudron.js | 2 ++ imap-probe.js | 2 ++ mailer.js | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/cloudron.js b/cloudron.js index 88d2f19..4836c45 100644 --- a/cloudron.js +++ b/cloudron.js @@ -642,6 +642,8 @@ Cloudron.prototype.sendMail = function (account, to, callback) { text: 'This release depends on you' }; + debug('Sending mail with options %j', mailOptions); + transport.sendMail(mailOptions, callback); }; diff --git a/imap-probe.js b/imap-probe.js index 829956d..2f6f6f5 100644 --- a/imap-probe.js +++ b/imap-probe.js @@ -192,6 +192,8 @@ ImapProbe.prototype.probe = function (needle, callback) { debug('Connection ended'); }); + debug('probing for %j', needle); + this._connection.once('ready', function () { debug('Connection success'); diff --git a/mailer.js b/mailer.js index 6a2fa99..3c3d223 100644 --- a/mailer.js +++ b/mailer.js @@ -53,7 +53,7 @@ function sendMailToCloudronUser(email, callback) { var mailOptions = { to: email, - subject: 'Hi from e2e test', + subject: 'Hi from e2e test - ' + email.split('@')[1], text: 'I hope you get this. The release depends on you!' };