da una tabella controllo i record che hanno il campo "ammesso" settato su "1" e ne ricavo il valore "email", dopodichè vorrei spedire la stessa mail a tutte le email del risultato di questa query ma come si fa??


il mio script:
Codice PHP:
$querymysql_query("SELECT * FROM newusers WHERE ammesso = '1' ")
        or die(
"Query Fallita: " mysql_error());
while (
$dati mysql_fetch_array($query))
{

echo 
"{$dati['email']}"// <--- mi restitiusce correttamente l'elenco degli indirizzi email.

}

$mittente=$_POST['mittente'];
$oggetto=$_POST['oggetto'];
$testo=$_POST['testo'];

//la variabile $dest vorrei che abbia un valore come questo:
$dest="email1@dominoi.it;email2@dominio.com;email3@dimoiniio.net"

$subject=$oggetto;
$mbody="<html><body><font color=\"A0D042\">[b][i]Mail spedita dal server **** ***[/i][/b][i][/i]</font>
"
;
$mbody.=$testo;
$mbody.="</body></html>";
$headers  "MIME-Version: 1.0\r\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
$headers .= "From: ".$mittente."\r\n";
$headers .= "Reply-To: ".$dest."\r\n";
mail($dest$subject$mbody$headers); 
leggere le righe commentate