This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Sep 30th, 2011  |  syntax: PHP  |  size: 0.43 KB  |  views: 71  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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.  
clone this paste RAW Paste Data