Here is the code I'm using:
<?php
include('Mail.php');
$recipients = array('To' ='***********@yahoo.com',
);
$headers['From'] = 't*********@gmail.com';
$headers['To'] = 's**********@yahoo.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);
?>
Now the message is sent with the subject, but the body is not being
sent, why?
Thanks,
--TJ