Php mail() dose not send mails to yahoo emails please help me on this..?

Bhagirath

New member
this is my code
$bcc=implode(", ",$_REQUEST['sentemails']);
$body=$_REQUEST['mail_body'];
$subject=$_REQUEST['subject'];
$from=ADMIN_MAIL;
$to=GLOBAL_TO;

$headers = "From: \"".TITLE."\"<".$from.">\n";
$headers .= "Reply-To: \"".TITLE."\"<".$from.">\n";
$headers .= "BCC: ".$bcc."\r\n";
$headers .= "MIME-Version: 1.0\r\n";
$headers .= "Content-Type: text/html; charset=ISO-8859-1\r\n";

$message = '<html><body>';
$message.="<div style='background-color:#E57716; color:#FFFFFF; font-size:36px; font-weight:900; padding-left:10px'><?php echo BASE_TITLE; ?></div>";
$message.=$body;
$message .="<br /><a href='".BASE_PATH."' target='_blank'>".BASE_PATH."</a>";
$message .= '</body></html>';
$mail_sent=mail($to,$subject,$message,$headers);


this code dose send mails to google mails but i can't get the mails to yahoo mails.
 
Back
Top