// plain
To determine which version of PHPMailer you are using, you can access the version
property of the PHPMailer class.
require 'PHPMailer/PHPMailerAutoload.php';
$mail = new PHPMailer;
echo $mail->version;
6.1.7
The above code will output the version of PHPMailer that is currently being used.
Alternatively, you can look at the CHANGELOG.md
file provided in the PHPMailer repository. This file contains a list of changes and updates made to the PHPMailer library, including the version number for each release.
onelinerhub: How do I determine which version of PHPMailer I'm using?