$varvalue) { $message = $message . $varname . "=" . $varvalue . "\r\n"; } $headers = "From:" . $from; mail($to,$subject,$message,$headers); $to = "asales@olfolders.de"; mail($to,$subject,$message,$headers); header("HTTP/1.1 301 Moved Permanently"); header("Location: " . $_POST['Antwortseite']); exit(); //echo "Mail Sent. Thank you " . $first_name . ", we will contact you shortly."; // You can also use header('Location: thank_you.php'); to redirect to another page. } ?>