Closed (fixed)
Project:
PHPMailer
Version:
6.x-2.1
Component:
Code
Priority:
Critical
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
28 Oct 2009 at 14:41 UTC
Updated:
23 Oct 2013 at 08:55 UTC
When going to the Site Configuration -> PHPMailer page I get the following error:
Fatal error: Class 'PHPMailer' not found in /var/www/sites/all/modules/phpmailer/includes/phpmailer.class.inc on line 15.
Here is the line:
"class DrupalPHPMailer extends PHPMailer {"
I have installed the libphp-phpmailer class version 2.1-1. This was the latest release that came with Ubuntu Linux 9.04.
I find the class "PHPMailer" in the following file:
/usr/share/php/libphp-phpmailer/class.phpmailer.php
Why cannot the module find this class?
Is there anything I need to do to make the module find the class, like registering the libphp-phpmailer class anywhere?
Appreciate all help!
Comments
Comment #1
smk-ka commentedThis module requires the PHPMailer library at a predefined location. From the README:
Thus, extracting both files to /var/www/sites/all/modules/phpmailer/phpmailer/ should fix this issue.
Comment #3
amcat commentedFatal error: Class 'PHPMailer' not found in /customers/8/e/e/.............de/httpd.www/sites/all/modules/phpmailer/includes/phpmailer.class.inc on line 12