HTML קוד:
<html>
<title> כותרת </title>
<form methos="post">
<input type="text" name="to"> -- לישלוח ל...<br>
<input type="text" name="sub"> -- נושא...<br>
<input type="text" name="form"> -- נישלח מ...<br>
<TEXTAREA ROWS=5 COLS=45 NAME="Message"></TEXTAREA> -- תוכן ההדעה<br>
<input type="submit" value="שלח">
</htm>
לקחתי ממך את ה INPUT לא היה לי כוח לרשום מחדש
PHP קוד:
<?
$a = $_post["to"];
$b = $_post["from"];
$c = $_post["sub"];
$d = $_post["Message"];
mail($a, $c, $d, $b);
?>