E-Mail Spammer Script for ya'll
| From: | Ian LeBlanc | Date: | Mon, 18 Sep 2000 15:10:33 +0000 |
| Subject: | E-Mail Spammer Script for ya'll | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-17117@lists.php.net to get a copy of this message | ||
If any of you wanted a spammer mailer here you go. Wrote this script 6 months ago... found it in my script archive..
play with it if you like.
<?
$MailTo = "you@domain.com"; //Who you are mailing
$Subject = "subject!!"; //Subject of the e-mail
$Message = "body of e-mail"; //Body of e-mail
$MailFrom = "ian@rask.com"; //Who you want it to say it is from
$index=0; //Counter value
while ($index <= $number)
{
$Confirm = MAIL($MailTo, $Subject, $Message, "From: $MailFrom\n Reply-To: $Mailto\n Content-Type: text/plain; charset=iso-8859-1\n Content-Transfer-Encoding: 8bit\n Errors-To: $MailTo\n Return-Path: $MailTo\n X-Mailer: Spammer mail! PHP/".phpversion());
IF ($Confirm =="1")
{
PRINT ("Message number $index sent ");
$index++;
}
IF ($Confirm =="1")
{
PRINT ("There was an error. Script now ending");
EXIT();
}
}
?>
Regards,
Ian LeBlanc
Senior Internet Technician
Rask, Inc. - www.rask.com
Phone: (727) 517-2000
Fax: (727) 517-2001