From d9fbc1af0793b2133a3211ebd9c16d862fec7e37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Pi=C4=8Dman?= Date: Mon, 20 Nov 2023 10:50:49 +0100 Subject: [PATCH] connection closed #20 --- lib/tasks/email.rake | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/lib/tasks/email.rake b/lib/tasks/email.rake index 29f9e5a..9e04631 100644 --- a/lib/tasks/email.rake +++ b/lib/tasks/email.rake @@ -45,10 +45,9 @@ namespace :redmine_oauth do port: ENV.fetch('port', '993'), scope: ENV.fetch('scope', 'https://outlook.office365.com/.default'), grant_type: ENV.fetch('grant_type', 'client_credentials'), - ssl: ENV.fetch('ssl', nil), - starttls: ENV.fetch('starttls', nil), - username: ENV.fetch('username', nil), - password: ENV.fetch('access_token', nil), + ssl: ENV.fetch('ssl', true), + starttls: ENV.fetch('starttls', false), + username: ENV.fetch('username', ''), folder: ENV.fetch('folder', 'INBOX'), move_on_success: ENV.fetch('move_on_success', nil), move_on_failure: ENV.fetch('move_on_failure', nil)