collectiveaccess / providence

Cataloguing and data/media management application
GNU General Public License v3.0
290 stars 166 forks source link

phpmailer XOAUTH2 authentication #1581

Closed Monica-Wood closed 1 month ago

Monica-Wood commented 1 month ago

This is a beta of XOAUTH2 authentication for SMTP email sending. I have tested it works with Office365 email address, using Azure AD. Other service providers (Google, Yahoo) can be added in future as needed, I've provided a comment where in the mailHelpers.php file this should go.

This implementation shouldn't not affect existing plain/login authentications of SMTP (I tested this).

Solves #1580