Lets move WordPress Mail Authentication from Basic to Microsoft Graph , Choosing one of an available plugin which supports Microsoft Graph . Search , Install and Activate , Search for “Mail Integration for Office 365”
![](https://www.azure365pro.com/wp-content/uploads/2022/06/image-72.png)
Login to Azure Portal and register an Application
![](https://www.azure365pro.com/wp-content/uploads/2022/06/image-67.png)
![](https://www.azure365pro.com/wp-content/uploads/2022/06/image-74-1024x306.png)
From Plugin Settings get the redirect URI and apply above
Create a Secret valid for 3 years from Certificates and Secrets
![](https://www.azure365pro.com/wp-content/uploads/2022/06/image-69-1024x439.png)
![](https://www.azure365pro.com/wp-content/uploads/2022/06/image-68.png)
![](https://www.azure365pro.com/wp-content/uploads/2022/06/image-70-1024x425.png)
Emails are sent out using Microsoft OAuth / Microsoft Graph. You should feel proud every time you kill basic authentication .