<?php
while(list($key, $val) = each($HTTP_POST_VARS)) {
$key = stripslashes($key);
$val = stripslashes($val);
$msg .=" $key= " . $val . "<br>";
}
$headers="MIME-Version: 1.0\r\n";
$headers.="Content-type: text/html; charset=iso-8859-1\r\n";
$headers.="From:".$HTTP_POST_VARS['email'];
$recipient="myname@mydomain.com";
$subject="My feedback form";
mail($recipient,$subject,$msg,$headers);
?>
Code is not working in outlook express.It is not showing the header information.<br> is also not working .<br> print as text.
But if i check my mail in internet explorer at the address given by my webspace provider,everything comes absolutely correct.What may be the possible problem.Pls help.Thanks