While investigating an issue with emails, I noticed that Gibbon is using a deprecated version of PHPMailer (5.2.23 which was deprecated about a year ago. The issue that I investigated was not related to the version of PHPMailer but I thought it is good to bring this here because it may cause some security issues as the newer versions of PHPMailer contain more security fixes.
Well spotted. Would you be interested in checking out the release notes for the current PHPMailer version, compared to Gibbon’s version, and seeing if there’s any breaking changes we should be aware of? Then I think we could look at upgrading the PHPMailer library for v19 and testing it.
The latest released version of PHPMailer is 6.1.3 (released on November 21st, 2019) while Gibbon’s version is 5.2.23. The current version of PHPMailer (starting with 6.0) is NOT compatible with 5.2. Here are some useful links about PHPMailer 6.0:
Thanks Adelphe for checking into this We’re late in the development cycle for v19, and the mailer is currently stable, so my thoughts are to keep the current PHPMailer 5.2.23 version for v19, and plan to upgrade to PHPMailer 6.1.3+ early in the v20 development cycle, that way we’ll have plenty of time to test and handle the breaking changes.