PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
<?php
$tolist = "nono@adress.at";
for ($i=0; $i<100; $i++) {
mail($tolist, "Newsletter", "Teurer Kunde, <br> wiedereinmal ist es soweit, bla bla...");
}
?>
was intendet to send 100 mails to my adress. But now its causing the Server to send endless amounts of this mail. My question now is not really what was wrong (eventhought I`d really like to know) but how can i stop the Server from sending more and more. Restarting Mailserver nor php server helped yet, how can the cache be deletet?
Sorry I`m not the admin, but it already stopped after sending over 7000 mails.
The question left now is, should the script shown as above send out 7000 mails?