freescout-help-desk / freescout

FreeScout — Free self-hosted help desk & shared mailbox (Zendesk / Help Scout alternative)
https://freescout.net
GNU Affero General Public License v3.0
2.75k stars 468 forks source link

Sending emails and Basich Auth (Office 365) #4072

Closed lucafabbri365 closed 2 weeks ago

lucafabbri365 commented 3 weeks ago

Hello, I'm trying to configure the Sending Emails under Connection Settings with Office 365. As I understand by reading this article Connect FreeScout to Microsoft 365 Exchange via OAuth, the SMTP AUTH must be enabled. Now, with security changes made by Microsoft SMTP AUTH works with OAuth2; the Basic Authentication is deprecated/disabled. However the Sending Emails section seems to support Basic Auth. only (Username/Password).

Isn't it ?

Thank you.

freescout-helpdesk commented 3 weeks ago

We can take a look what can be done but we'll need an access to some MS 365 account. If you can provide it please email at support@freescout.net

freescout-helpdesk commented 3 weeks ago

Or you can test changes we've just pushed to the master branch.

SMTP via oAuth is configured similar to Fetching: https://github.com/freescout-helpdesk/freescout/wiki/Connect-FreeScout-to-Microsoft-365-Exchange-via-OAuth#fetching-emails

lucafabbri365 commented 3 weeks ago

Hello @freescout-helpdesk, using the same method (oAuth) used for fetching emails sound good. I'll test the change and give you feedback...

freescout-helpdesk commented 3 weeks ago

Small clarification - same Microsoft Exchange app is used for sending emails and for fetching, you don't need to create two apps in your Microsoft Exchange.

lucafabbri365 commented 3 weeks ago

Hello @freescout-helpdesk

Small clarification - same Microsoft Exchange app is used for sending emails and for fetching, you don't need to create two apps in your Microsoft Exchange.

Got it.

freescout-helpdesk commented 2 weeks ago

Does it work for you?

lucafabbri365 commented 2 weeks ago

Hello @freescout-helpdesk, I'm waiting for the guy who is managing Freescout. I'll let you know asap.