[Tutorial] Connecting Frappe/ERPNext to Microsoft 365 mail services OAuth

Thanks @avc for such a great article, but still im not able to relaize how to configure shared mailbox mail like notifications@company.com to use with these service, i created the connected app using my account in erpnext and connected to M365, but now how can i add the shared mailbox??? any help please.

I had the same problem. The solution to activate SMTP Auth on Microsoft Entra is unsafe and we don’t know how long this will last.

I wrote instead a relay that turns the SMTP Auth Emails into Graph Compatible form and sends it safe. It runs in the same Docker stack as my ERP Next. I do recommend this solution. Just fork my repo, host the image yourself and implement it next to your ERP Next container.

The README.md describes it all pretty well. Please leave a star at my Repo and report upcoming issues, so I can help solve them.

Here the link to the repo:

1 Like