<html> <head> <title>Anonymous Mailer! V1.0</title> </head> </html> <?PHP echo ("Anonymous Mailer!<br><br>"); If (isset($_POST['submit'])) { $mailto = $_POST["aan"]; $subject = $_POST["onderwerp"]; $message = $_POST["txt"]; $from = $_POST["van"]; echo ("Mailtje wordt verstuurd, even geduld... <br>"); mail("$mailto", "$subject", $message, "From: $from"); echo ("mail send!"); } else { echo "<form method=\"post\" action=\"$PHP_SELF\">"; echo ("Tekst:<br>"); echo "<input type=\"text\" name=\"txt\">"; echo "<br>"; echo "Verzendemailadres:<br>"; echo "<input type=\"text\" name=\"van\">"; echo "<br>"; echo ("Ontvanger:"); echo ("<br>"); echo "<input type=\"text\" name=\"aan\">"; echo "<br>"; echo ("Onderwerp:"); echo ("<br>"); echo "<input type=\"text\" name=\"onderwerp\">"; echo "<br>"; echo "<br>"; echo "<input type=\"submit\" name=\"submit\" value=\"Verzend\">"; echo "</form>"; echo ("©right [Your name here]"); } ?>