I'm going through the installation documentation and running into an issue on step 1:
1. Download the latest PHPMailer library from
https://github.com/PHPMailer/PHPMailer/tags
and extract the following files into a 'phpmailer' library directory:
sites/all/libraries/phpmailer/class.phpmailer.php
sites/all/libraries/phpmailer/class.smtp.php
What I am able to find to download from the url above does not have class.phpmailer.php or class.smtp.php in it.
I copied what I found, however, and I'm moving forward but I thought you'd want to know the install docs might need updating. Thank you for creating a cool module.
Comments
Comment #2
oadaeh commentedI followed those steps and found the files.
Maybe you could provide more information about what you found and/or what you needed to do differently to get the files?
Comment #3
SnackyStacky commentedI'm not the OP - but I think the issue here is incorrectly downloading the latest version from the GitHub repository. I didn't pay attention, downloaded the latest version, and it did not include the required file. I went back and downloaded the correct 5.2.2 version of the libraries and found the file. :)
Comment #4
wmfinck commentedThis problem has me chasing my tail all morning.... I just downloaded PHPMailer v6.2.0.tar.gz from the archive in the OP and the files class.phpmailer.php and class.smtp.php are not part of the archive.
On Drupal 8.10 and with the PHPMailer installed correctly in /libraries/phpmailer the error that the library is missing persists and "composer update" with appropriate flags for dependencies does not help.
Any information which might help rectify this would be appreciated.
Comment #5
astonvictor commentedD7 reached its EOL back in January 2025, and there is no active release for D7 for this module anymore.
Development or support is not planned for D7. All D7-related issues are marked as outdated in a bunch.