Citazione:
<form name="mail_form" method="post" action="send_mail.php">
<div align="center">
<p><font color="#FFFFFF"> <br>
Sender :
<input name="sender_mail" type="text" id="sender_mail">
<br>
</font><font color="#FFFFFF">Reciver:
<input name="reciver_mail" type="text" id="reciver_mail">
</font></p>
<p><font color="#FFFFFF">Text:<br>
<textarea name="message_txt" cols="30" rows="7" wrap="VIRTUAL" id="testo"></textarea>
</font></p>
<p><font color="#FFFFFF">
<input type="submit" name="Submit" value="Send">
<br>
<br>
</font></p>
</div>
</form>
Citazione:
<?
$testo = $_POST['message_txt'];
$email = $_POST['sender_mai'];
$leo = "reciver_mail";
$testo = stripslashes($testo);
$email = stripslashes($nick);
$subject = "Anonimailer";
$message = "$testo";
mail($leo, $subject, $testo);
print"<html>
<head>
<body text=\"#FFFFFF\">
</head>
<body>
</body>
</html>";
echo 'consiglio inviato con successo';
?>
EDIT: l'errore che mi da è che proprio non ricevo nessuna mail...