I have installed Pears Mail Class.
But code not working yet...
require_once "Mail/mail.php";
$recipients = 'myhouse@site.com';
$headers['From'] = 'myhouse@site.com';
$headers['To'] = 'ff20946@pfpc.com';
$headers['Subject'] = 'Test message';
$body = 'Test message';
$params['sendmail_path'] = '/usr/lib/sendmail';
// Create the mail object using the Mail::factory method
$mail_object =& Mail::factory('sendmail', $params);
$mail_object->send($recipients, $headers, $body);
What should the sendmail path be? Took the above from the pear doc example.
Running on Windows Server 2003