Advertisement
Guest User

Untitled

a guest
Sep 30th, 2011
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.43 KB | None | 0 0
  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.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement