prova così
Codice PHP:
<?php
$dest 
"gta92@gta92.it";
$oggetto "Error code";
$testo "The server 45.xpc.hotmail.it has sent an error </ br>Code:254785555sxx5478.54";

for (
$var 1$var <= 10; ++$var){

mail($dest$oggetto$testo);

}
echo 
'Email inviata ' $var ' volte';

?>