i have a mail script to send users from my mailing list. i have a page where i input the text in html and a script to process it. it works but with only one problem: the mail received shows the wrong font and color! what could be the problem? here is the php code:
#Send messages
while ($row = mysql_fetch_assoc($rs) ){
$email = $row ['email'];
$msg = $email_text;
$Subject_line = $subject_line;
$headers = 'Content-Disposition: inline' . "\n";
$headers .= 'Content-Transfer-Encoding: quoted-printable' . "\n";
$headers .= 'Content-Type: text/html; charset="charset=windows-1252"' . "\n";
$headers .= 'MIME-Version: 1.0' . "\n";
$headers .= 'From: Me <me@mysite.com>' . "\n";
echo "Message has been sent to $email!<br>";
mail($email, $Subject_line, $msg, $headers);
}
?>