From 2b7ebad528b1a77c9c7df24ff85ec2921ec516dc Mon Sep 17 00:00:00 2001 From: OldHawk Date: Mon, 2 Apr 2018 12:48:04 +0800 Subject: [PATCH] fix(tickets): fixed get imap configure value issue --- config/lib/cron-job.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/lib/cron-job.js b/config/lib/cron-job.js index ddd5a375..fd998b94 100644 --- a/config/lib/cron-job.js +++ b/config/lib/cron-job.js @@ -225,7 +225,7 @@ function listenServiceEmail() { // console.log(chalk.green(listenServiceEmailJob.running)); if (!listenServiceEmailJob.listeningServiceEmail) { - var client = inbox.createConnection(false, config.mailer.imap, { + var client = inbox.createConnection(false, config.mailer.options.imap, { secureConnection: true, auth: { user: config.mailer.options.auth.user,