Bu benim sistemim

<form action="post.php" method="post">
Alıcı : <input type="text" name="email"/>
<br /><input type="submit" name="email" value="Gönder"/>
</form>
post.php
<?php
if ($_POST["email"])
{
$adres	=	$_POST["email"]; // Buraya e-postanin gonderilecegi mail adresini yaziniz
$email	=	"alici@site.com"; 
$konu	=	"Mesaj konusu";

 
if(($email=="")){
print '<script>alert("Boş bırakmayınız!");history.back(-1);</script>'; 
}
else
{
 
$mesajveri.="Buraya sabit mesaj içeriği";

 
$mesajyolla = mail($adres, $konu, $mesajveri, "Content-type: text/html; charset=utf-8\r\n");
 
if($mesajyolla)
{
print '<script>alert("Başarıyla mail gönderildi!");history.back(-1);</script>'; 
}
else
{
print '<script>alert("HATA!");history.back(-1);</script>'; 
}
}
}else {
header("Location: /index.html"); 

}

?>