'; if ($_GET['do'] == 'mail') { $headers = 'From:' . "$_POST[mail] \r\n" . 'Reply-To:' . "$_POST[mail] \r\n" . 'X-Mailer: PHP/' . phpversion(); $mail = mail('hesperaux@gmail.com', 'this is a subject', 'this is some message', $headers); var_dump($mail); } ?>