
<html><body>
Temat: <input type="text" name="temat">
Treść: <input type="text" name="tresc">
<input type="submit" value="Wyślij">
<?php
email (email, Temat, tresc)
?>
</body></html>
<html><body> <form name="bla" action="" method="POST"> Temat: <input type="text" name="temat"> Treść: <input type="text" name="tresc"> <input type="submit" value="Wyślij"> </form> <?php { $do = '?'; } ?> </body></html>
<?php $Name = "Gal Anonim"; $email = "dostawca@adress.com"; $to = "odbiorca@adress.com"; // tutaj wpisz wlasny adres $mail_body = "Tresc wiadomosci"; $subject = "Temat"; $header = "From: ". $Name . " <" . $email . ">r\n"; ?>