<form action="mail.php" method="POST"> <textarea name="text"></textarea> </form> <?php mail("адрес", "Тема", $_POST["text"]); ?>