1. <?
  2.  
  3. $yourname = "John Doe";
  4. $youremail = "email@yoursite.com";
  5.  
  6. $prefix = 7205604;
  7. $carrieraddress = "@txt.att.net";
  8. $body = "Hey is this Melanie?";
  9.  
  10. for($i=0; $i <= 999; $i++){
  11.     $number = $prefix . str_pad((int) $i,3,"0",STR_PAD_LEFT);
  12.     if(mail($number.$carrieraddress, "", $body, "From: {$yourname} <{$youremail}>"))
  13.         echo "Successfully emailed {$number}{$carrieraddress}: {$body}<br>";
  14. }
  15.  
  16. /*
  17.     http://streamsc2.com/
  18. */
  19.  
  20. ?>
  21.