Hi, i run a website thats sends daily mails not in bulk but some isp block the mail comming in
i use mail() to achieve this and im using following script
$send_html_messages = "no";
$adminmail="noreply@mydomain.be"; //change to your adminmail
$useremail="noreply@mydomain.be"; //change to your own personal mail
$subject = "verification emaildelivery php mailer";
$content = "small test to check ";
$xheaders = "From: " . $adminmail . " <" . $adminmail . ">\n";
$xheaders .= "X-Sender: <" . $adminmail . ">\n";
$xheaders .= "X-Mailer: PHP\n"; // mailer
$xheaders .= "X-Priority: 6\n"; // Urgent message!
if ($send_html_messages == "yes") {
$xheaders .= "Content-Type: text/html; charset=iso-8859-1\n"; // Mime type
}
mail("$useremail","$subject","$content",$xheaders);
There no problem for people using gmail hotmail or there own domein mail
right now all my mails send to @ , @tenelet dont even get to there spamfilter.
This code worked fine in the past on these isp so i blamed my new host on that but they say its a programming error
annyway to get this working ?
grtz ississ