php Mail function classified as "Junk mail"
Posted: Thu Jun 30, 2005 11:48 am
I am using the php mail function, and my emails that I am sending are getting classified under outlook as Junk Mail, how do I get aroudn this so that my emails are viewable by all?
Here is the code i am using
Here is the code i am using
Code: Select all
$to = "jnarowski@comcast.net";
$headers = "From: service@amishtables.com\r\n";
$headers .= "Reply-To: service@amishtables.com\r\n";
$headers .= "Return-Path: service@amishtables.com\r\n";
$headers .= "MIME-Version: 1.0\r\n";
$headers .= "Content-Type: text/html; charset=ISO-8859-1\r\n";
$message = "<html><body>";
$message .= "<img src=\"http://www.amishtables.com/images/headings/heading".$imagechoose.".jpg\"><br><br>";
$message .= $body2;
$message .= "</body></html>";
if (isset($Submit)) mail($to,$subject,$message,$headers);