Enable OAuth2 (XOAUTH2) for Sending Emails Using Gmail Account in OJS 3

This page summarizes the projects mentioned and recommended in the original post on dev.to

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  1. PHPMailer

    The classic email sending library for PHP

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. oauth2-google

    Google Provider for the OAuth 2.0 Client

  4. oauth2-microsoft

    Microsoft OAuth 2.0 support for the PHP League's OAuth 2.0 Client

  5. Due to the obsolete packages being used by this particular script, you actually need to update the dependencies of this PHPMailer package. However, it may be complicated since it's also a dependency for OJS. For this workaround, you can use my vendor packages from here. Extract this archive into a separate directory aside of your OJS in the server, e.g. /var/www/lib (as I pointed out in the PHP script above).

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Email notifications on comments: PHPMailer without Composer

    1 project | dev.to | 6 May 2026
  • CVE-2016-10033: PHPMailer Command Injection Vulnerability

    1 project | dev.to | 7 Jul 2025
  • Deliver Emails Safely with PHP: A Guide to Using SMTP for Spam-Free Emails

    1 project | dev.to | 27 Sep 2024
  • Easy PHPMailer Tutorial: Build an Email System in No Time [2024] ✉🚀

    1 project | dev.to | 17 Jul 2024
  • What to use besides contact form?

    1 project | /r/webdev | 10 Dec 2023

Did you know that PHP is
the 14th most popular programming language
based on number of references?