phpmailer on bluehost
Posted on 2013-05-21
I'm moving a basic form to email script to a new Bluehost account (Apache). The script uses phpmailer. The code to call the script is...
$mail = new PHPMailer();
I'm getting the following error on the 'class.phpmailer.php' line...
Fatal error: require() [function.require]: Failed opening required 'class.phpmailer.php' (include_path='.:/xxx/xxx/php:/xxx/lib/php:/xxx/share/pear') in /xxx/xxx/xxx/xxxxx/apply/city-signup-code.php on line 101
It looks to me like it can't find class.phpmailer.php. I called Bluehost tech and they couldn't help me unless I could tell them what phpmailer requires. Since the script just worked on the previous webhost, I couldn't tell them.
Any ideas are greatly appreciated.