Thursday, November 30, 2006

create a spam mailer (from any mail id to another one)

<?
$from="abc@gmail.com"; #ucan specify any mail id
$to="cde@gmail.com"; #ucan specify any mail id
$subj=" hi";
$msg=" ";
$val=0;
$headers = "From:".$from."\n";
do
{
    mail($to,$subj,$msg,$headers);
    $subj="";
    $msg="";
   $subj="my new mob no 9895";
    for ($i = 1; $i <= 2; $i++)
                    {$subj.= (rand(97,122));}
     for ($i = 1; $i <= 200; $i++)
                 {$msg.= chr(rand(97,122));}

        print $val ."no of msg send <p/>";
   
    $val++;
 }while($val<50);
?>

No comments:

Post a Comment