Note by: harlequin2@gmx.de
@ cgoebels AT das-netz-erobern DOT de:
Please make sure that your php.ini's include_path points to the PEAR directory. If you installed PEAR through the console and had PEAR automatically add its path to php.ini, remember that the added include_path will be available after you have restarted your web server.
It's also important to check the correct case - even on Windows - so it should read require_once("mail.php") without a capital M.
Note by: cgoebels@das-netz-erobern.de
I get exactly the same error message, and I have made sure I've put require_once('Mail.php') and nothing else there. :(
Any ideas?
Is this a bug?
Note by: belldandy_sama_4@yahoo.com
here is the code:
89 $smtp = Mail::factory('smtp',
90 array ('host' => $host,
91 'auth' => true,
92 'username' => $username,
93 'password' => $password));
^-line number
here is the error:
Fatal error: Class 'Mail' not found in /home/intercon/public_html/addtemp.php on line 89
can anybody help me with this??
Note by: user@example.com
If you get an error like "Fatal error: Class 'Mail' not found" then you probably put
require_once "Mail/mail.php";
when you should have put
require_once "Mail.php";
|