Redmine Email Notification Issue - Help Needed for Modern Authentication
Added by Darshan Faldu 10 months ago
Hi,
We've recently configured Redmine for our organization, and while everything seems to be working smoothly, we're encountering an issue with email notifications.
We have configured the email delivery method to use SMTP, as shown below:
email_delivery:
delivery_method: :smtp
smtp_settings:
address: smtp.office365.com
port: 587
domain: smtp.office365.com
authentication: :login
user_name: "noreply@myorg.com"
password: "my~p@ssw0rd"
enable_starttls_auto: true
However, when attempting to send a test email, we receive the following error:
An error occurred while sending mail (535 5.7.139 Authentication unsuccessful, basic authentication is disabled. [BM1PR01CA0164.INDPRD01.PROD.OUTLOOK.COM 2024-02-28T11:48:49.884Z 08DC38275E4F25C6])
Our research suggests that Redmine may not fully support modern authentication methods by default, and Microsoft's deprecation of basic authentication for Office 365 further complicates this situation.
We would greatly appreciate your guidance on how to address this issue and ensure successful email notifications from Redmine.
Below are the Redmine installation information.
Environment:
Redmine version 5.0.3.stable
Ruby version 2.6.10-p210 (2022-04-12) [x64-mingw32]
Rails version 6.1.7
Environment production
Database adapter Mysql2
Mailer queue ActiveJob::QueueAdapters::AsyncAdapter
Mailer delivery smtp
Redmine settings:
Redmine theme Default
SCM:
Git 2.41.0
Filesystem
Redmine plugins:
no plugin installed
Thank you for your time and assistance.
Screenshot_1.png (21.1 KB) Screenshot_1.png |
Replies (3)
RE: Redmine Email Notification Issue - Help Needed for Modern Authentication - Added by David from RedminePRO.com 9 months ago
Office365 doesn't allow reliable SMTP access to the email account due to security reasons. You need to use any alternative SMTP service.
David - redminepro.com
RE: Redmine Email Notification Issue - Help Needed for Modern Authentication - Added by Darshan Faldu 9 months ago
Yes, I'm open to using Microsoft Graph API as an alternative SMTP service. However, I'm unsure how to configure it within Redmine. Could you please provide guidance on this configuration process?
RE: Redmine Email Notification Issue - Help Needed for Modern Authentication - Added by John O'Conner about 2 months ago
Adding my comment to reinforce the concern about supporting Outlook 365. I've configured my Redmine installation similarly to yours but Redmine tells me "Error: Command received in Invalid state.". Redmine continues to ignore this basic functionality? I just purchased 2 plugins that won't work because of the email integration problem, so I'm particularly interested in finding a solution.