i write this file :
<?php
$email="[email protected]";
$sujet="test test ";
$message="hi,\n\n";
$message.="it s for test only\n";
$headers="From: [email protected]\n";
mail($email,$sujet,$message,$headers);
?>
and by command line or web , i start this script more time
the result is lot of mails remain in mail queue and never deleted
how to prevent this form of attack ?
<?php
$email="[email protected]";
$sujet="test test ";
$message="hi,\n\n";
$message.="it s for test only\n";
$headers="From: [email protected]\n";
mail($email,$sujet,$message,$headers);
?>
and by command line or web , i start this script more time
the result is lot of mails remain in mail queue and never deleted
how to prevent this form of attack ?