Hi,
When I send mail via PEARs Mail class they are sorted as spam by
Thunderbird. Do you have any ideas why? I can't figure it out.
function send_mail($to,$from,$subject,$body)
{
$recipients = $to;
$headers = array();
$headers['From'] = $from;
$headers['To'] = $to;
$headers['Subject'] = $subject;
$params["host"] = "my.smtp.com";
$mail_object =& Mail::factory('smtp', $params);
$mail_object->send($recipients, $headers, $body);
}
--
Regards Emil
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php