Hi Sudhanshu,
The Email Connector module supports OAuth. The documentation provides instructions on how to do this.
https://docs.mendix.com/appstore/modules/email-connector/#oauth-config-details
I hope this helps. Good luck!
Hi,
Microsoft documents this exact requirement here.
Exchange Online SMTP can still be used, but only with OAuth 2.0 (XOAUTH2).
hi,
Yes Microsoft has disabled Basic Authentication for Office 365 SMTP, so username/password (including App Passwords) will no longer work for sending email through smtp.office365.com. Basic auth is deprecated and blocked to improve security.
Use the Email Connector module from the Mendix Marketplace, which supports OAuth 2.0 (Microsoft Entra ID) for SMTP and other protocols — this gives you modern authentication instead of basic credentials.
Steps:
This setup uses OAuth 2.0 tokens, not SMTP passwords, and complies with Microsoft’s new requirements.
If you want to avoid SMTP entirely, you can send email using the Microsoft Graph API (/sendMail) via a connector or REST calls with OAuth. Many teams build this approach using the Microsoft Graph Connector or custom Graph integrations.