salve a tutti
Codice PHP:
$mittente = 'From: <mitt> \r\n';
$oggetto = stripslashes($_POST['oggetto']);
$select=mysql_query("select nome,email from utente") or die(mysql_error());
while($riga=mysql_fetch_array($select)){
$nome=$riga['nome'];
$destinatario=$riga['email'];
$messaggio=stripslashes("Salve $nome ,\n".$_POST['testo']);
if(!mail($destinatario, $oggetto, $messaggio,$mittente,"Content-type: text/html; charset=iso-8859-1")){
print"email non inviato a $nome
";
}else{print"email inviato a $nome
";}
perché dal terzo contatto in poi mi dà "email non inviato...." ?
Secondo voi è un problema di php o del server ?
grazie