1 2 3
<?php header("Location: " . var_export(mail("ya.sunbeam@gmail.com", "WeIntTech", "Имя: $_POST[name] /n Номер: $_POST[number]")) . ".html"); ?>