1 2 3 4 5 6 7 8 9 10 11 12 13
<?php $result=mail("ya.sunbeam@gmail.com", "WeIntTech", "Имя: $_POST[name] /n Номер: $_POST[number]") if (result) { header("Location: true.html"); } else { header("Location: false.html"); } } ?>