This is a link ";
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
$headers .= 'From: '.$_POST['email1name'].'<'.$_POST['email1']. ">\r\n" .
'Reply-To: '.$_POST['email1name'].'<'.$_POST['email1']. ">\r\n" .
'X-Mailer: PHP/' . phpversion();
mail($_POST['email1'],$email_subject,$email_body1,$headers);
for( $arrayCounter = 1; ($arrayCounter <= $_POST['emailno']); $arrayCounter++) {
mail($_POST['emailname'.$arrayCounter]."<".$_POST['emailadd'.$arrayCounter].">",$email_subject,"Hi ".$_POST['emailname'.$arrayCounter].$email_body2,$headers);
};
$returnst = $_POST['emailno'];
echo $returnst;
?>
zzzzzzzzzzzzz
![]()
$email_body2 = ",Extra comma.This is a link ";
That's not the error, that comma is in the string fieldOriginally posted by ndmmxiaomayi:Extra comma.
Think should be all ba... I can't find other errors...
It crashed my Apache server.Originally posted by NekoRin:That's not the error, that comma is in the string field
I found out the error... seems like Outlook doesn't like \r so I erased all of them and it works like magic![]()
![]()