i checked the server and pear is definitely installed…at command line, typing
pear list
brings up all the installed packages.
Now, I also checked the include_path of the php.ini file and its set to .:/usr/share/pear
But when I put into my code:
require('Mail.php');
the script wont even run and doesn’t produce anything.
it works correctly on another server, so i know there is nothing wrong with the code for sending email with PEAR, but its that ■■■■ include path that is not picking up the Mail.php file which is in the usr/share/pear/ folder that is defined in the include_path.
Any suggestions please?
Thanks.