Du kan bruge denne kode:
<form action="send.php" method="post">
Fra: <input type="text" name="from" id="from">
<br><br>
Email: <input type="text" name="Email" id="Email">
<br><br>
Tekst:<br><textarea cols="39%" rows="10%" name="Message" wrap="physical"></textarea>
<br><br>
<input type="submit" value="Send" id="send"> <input type="reset" value="Reset" id="send">
</form>
og så lave en php fil der hedder send.php med følgende kode:
<?php
$Message = $_REQUEST["Message"]."\\n"."\\n".$_REQUEST["from"];
$Email = $_REQUEST["Email"];
mail("den mail det skal sendes til",
"$Emne",
"$Message",
"From: $Email\\nReply-to: $Email");
echo "Besked/Mail afsendt";
?>
Mvh.
Rune Jensen
---------------------------------------------------------------------------
##The one who laugh last is the one who think slowest!##
---------------------------------------------------------------------------