OAuth2 With SMTP

I just figured it out. I feel like an absolute pepega. :grimacing: I skipped over the comment of “Custom connection classes must be extensions of Laminas\Mail\Protocol\Smtp.” in the Docs. All I needed to do was extend the Smtp protocol and add my own Connection Class of OAuth2.

Cheers.