Simple Question PLS help!

hi guys.

well i have this code in php (a feedback), work perfect but when send the message to the mail in the page say. “thanks for send us a message” in a echo.

i just want that when the script send me the mail, goto a page called mail.html

<?PHP 
$to = mymail@123.comy; 
$subject = "web form";
$headers = "From: domain.com";
$forward = 0;
$location = "www.domain.com";
$date = date ("l, F jS, Y"); 
$time = date ("h:i A"); 
 
$msg = "webform. was send on $date at $time.

"; 
if ($_SERVER['REQUEST_METHOD'] == "POST") {
foreach ($_POST as $key => $value) { 
$msg .= ucfirst ($key) ." : ". $value . "
"; 
}
}
else {
foreach ($_GET as $key => $value) { 
$msg .= ucfirst ($key) ." : ". $value . "
"; 
}
}
mail($to, $subject, $msg, $headers); 
if ($forward == 1) { 
header ("Location:$location"); 
} 
else { 
echo "thanks for send us a message."; 
} 
?>

regards.