Help I can't get the html to be displayed correctly in
outlook.... but they can be displayed in mail clients like hotmail,
yahoo.... anyone knows how to solve it?
attached is the script i use
<?
$email_subject = "This is a test subject title";
$email_body1 = "This is test body text";
$email_body2 = ",
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" .<br />'Reply-To:
'.$_POST['email1name'].'<'.$_POST['email1']. ">\r\n" .<br
/>'X-Mailer: PHP/' . phpversion();<br
/>mail($_POST['email1'],$email_subject,$email_body1,$headers);<br
/><br />for( $arrayCounter = 1; ($arrayCounter <=
$_POST['emailno']); $arrayCounter++) {<br
/>mail($_POST['emailname'.$arrayCounter]."<".$_POST['emailadd'.$arrayCounter].">",$email_subject,"<html><body>Hi
".$_POST['emailname'.$arrayCounter].$email_body2,$headers);<br
/>};<br />$returnst = $_POST['emailno'];
echo $returnst;
?>
zzzzzzzzzzzzz
