mautic / mautic

Mautic: Open Source Marketing Automation Software.
https://www.mautic.org
Other
6.83k stars 2.51k forks source link

IMAP basic auth deprecated in Microsoft 365 #12041

Open vincnetas opened 1 year ago

vincnetas commented 1 year ago

Mautic Version

4.4.x series

PHP version

7.4.33

What browsers are you seeing the problem on?

Not relevant

What happened?

Unable to authenticate IMAP for "Monitored Inbox Settings". As i understand microsoft disabled basic authentication for IMAP :

https://learn.microsoft.com/en-us/exchange/clients-and-mobile-in-exchange-online/deprecation-of-basic-authentication-exchange-online#pop-imap-and-smtp-auth

Is there any workaround how to monitor IMAP mailboxes for microsoft 365 users?

How can we reproduce this issue?

Step 1: Try to "Test connection and fetch folders" for office 365 IMAP server

receive error message : "Error communicating with the IMAP server: [CLOSED] IMAP connection broken (server response)"

Relevant log output

No response

Code of Conduct

--- Want to back this issue? **[Post a bounty on it!](https://app.bountysource.com/issues/121828521-imap-basic-auth-deprecated-in-microsoft-365?utm_campaign=plugin&utm_content=tracker%2F5355074&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://app.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F5355074&utm_medium=issues&utm_source=github).
vincnetas commented 1 year ago

More details : https://learn.microsoft.com/en-us/exchange/client-developer/legacy-protocols/how-to-authenticate-an-imap-pop-smtp-application-by-using-oauth?WT.mc_id=M365-MVP-9501

sensalot commented 1 year ago

+1

mautibot commented 1 year ago

This issue has been mentioned on Mautic Community Forums. There might be relevant details there:

https://forum.mautic.org/t/failed-to-authenticate-on-smtp-server-0-possible-authenticators/23563/5

RabeeBrahimi commented 10 months ago

any work around this ?

cdias-sil commented 10 months ago

Has there been any progress on this? Is there a guide to get Oath2 working to work with Mailbox monitoring feature?

enrikberisha commented 5 months ago

Is there anything we can do to push this one?

irizean commented 3 months ago

would appreciate a solution too...

swissbyte commented 1 month ago

Im also waiting for a solution. Would be great to hear from you :) Thanks

javiervalerocelada commented 1 month ago

Someone has news?