My emails are marked as spam by a lot of recipients of my email list. Anyone have any ideas why?
I think it's this line in the header:
X-Spam-Status: No, score=5.6 required=4.0
but I don't know why it would do that?
this is the code I use. Maybe I missed something?
$mymail="REMOVED MESSAGE";
$headers = "MIME-Version: 1.0\r\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
$headers .= "From: REMOVED Email Notifier<REMOVED@REMOVED.com>\r\n";
$headers .= "Reply-To: REMOVED<REMOVED@REMOVED.com>\n\n";
$sql="select e.emailer, m.email, m.name from emailer_settings e, mymembers m
where e.member_id=m.id and e.emailer='". $freq. "'";
$sqlresult = mysql_query($sql) or die(mysql_error());
while ($row = mysql_fetch_array($sqlresult))
{
$mymail.="<BR>Your registered username is: <B>". $row['name']. "</b>, and email is: <B>". $row['email']. "</B>.";
mail($row['email'],"REMOVED.com Updates for ". date("g"). ":00". date("a"). " CST",$mymail,$headers);
}