Code: Select all
require_once("/usr/www/users/faog/Mail.php");
$recipients = $infoї'recipients'];
$headersї'From'] = $infoї'from'];
$headersї'To'] = $infoї'recipients'];
$headersї'Subject'] = $infoї'subject'];
$body = $infoї'body'];
$paramsї'host'] = 'mail.lufkin.org';
// Create the mail object using the Mail::factory method
$mail_object =& Mail::factory('smtp', $params);
$mail_object->send($recipients, $headers, $body);
return 1;Code: Select all
Fatal error: Failed opening required 'Mail.php' (include_path='') in /usr/www/users/faog/email_fns.php on line 4Code: Select all
require_once("/usr/www/users/faog/Mail.php");