Open Monica-Wood opened 1 month ago
Submitted the pull request. Would be great if anyone else out there could test if they have Azure oauth2 available.
Incase helpful. Documentation I used as reference: https://github.com/PHPMailer/PHPMailer/wiki/Microsoft-Azure-and-XOAUTH2-setup-guide
We require the implementation of authenticating to SMTP via OAUTH2 (in particular using Microsoft Azure as the provider). This is available in the phpmailer composer package but requires installing one of their suggested packages to enable the OAUTH provider (There one available for each of Azure, Microsoft, Google and Yahoo).
I will be submitting a pull request in the next few days (into dev/php8) with a suggested implementation of this with Azure included, but if this works, it shouldn't take too much to add extra blocks for the other providers as needed.