Ima ovaj....
Html....
<html>
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<body>
<form action="email_slanje_ok.php" method="post">
<table>
<tr>
<td valign="top" align="right">Vase ime:</td>
<td><input name="ime" type="text"></td>
</tr>
<tr>
<td align="right">Vasa E-mail adresa: </td>
<td><input name="email" type="text"></td>
</tr>
<tr>
<td valign="top" align="right">Tema poruke:</td>
<td><input name="tema" type="text"></td>
</tr>
<tr>
<td align="right" >Vasa poruka:</td>
<td><textarea name="poruka" cols="25" rows="6"></textarea></td>
</tr>
<tr>
<td> </td>
<td><input type="submit" name="Submit" value="Posalji e-mail"></td>
</tr>
</table>
</form>
</body></html>
i ovaj php....
<html>
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<body>
<?php
$ime=$_POST['ime'];
$email=$_POST['email'];
$tema=$_POST['tema'];
$poruka=$_POST['poruka'];
//ovde otkucajte e-mail adresu na koju ce stizati poruke koje ova skripta procesuira.
$to="
[email protected]";
$tekst_poruke="Poruka sa sajta:
$poruka
E-mail je posiljaoca: $email";
if (mail($to,"$tema",$tekst_poruke,"From: $email"))
{
echo "Poruka je poslata";
}
else
{
echo "Greska!";
}
?>
</body>
</html>
Polja mogu biti i polje1,email,polje2,polje3,polje4, i polje5...