<html>
<body>

<?php

if (isset($_REQUEST['f6af6d6sd8a']))

//if "email" is filled out, send email


{

//send email

$email = $_REQUEST['f6d7s8af6dsa8f6sd8a'];
$subject = "PHP Form sendmail test from: ". $_SERVER['SERVER_NAME'];
$message = "PHP Form Sendmail Mail"."\n\nMessage from form:\n\n".$_REQUEST['9f8d7sa98fd6sa879f5sda67']; $headder = "From: ".$_SERVER['SERVER_NAME']."@nebon.net";

mail("test@nebon.net",$subject,$message,$headder);

echo "PHP Form Sendmail Mail Sent.";

}

else


//if "email" is not filled out, display the form

{
echo "<form method='post' action='sendmailform.php'>
From: <input name='f6d7sd8a' type='text' /><br />
Magic word:<br />
<textarea name='9f8d7sa98sda67' rows='15' cols='40'></textarea><br />
<input type='submit' />
</form>";
}

?>

</body>
</html>