Someone
public php v1 · immutable<?phpecho '<form action='. $_SERVER['PHP_SELF'] .'?do=mail method=\'post\'><input type=\'text\' name=\'mail\' /><input type=\'submit\' /></form>';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);}?>