Fórum:
 126)) {
                    $h2 = floor($dec / 16);
                    $h1 = floor($dec % 16);
                    $c  = $escape . $hex["$h2"] . $hex["$h1"];
                    $length += 2;
                    $addtl_chars += 2;
                }
                if ($length >= $line_max) {
                    $cur_conv_line .= $c;
                    $whitesp_diff = $i - $whitespace_pos + $addtl_chars;
                    if (($i + $addtl_chars) > $whitesp_diff) {
                        $output .= substr($cur_conv_line, 0, (strlen($cur_conv_line) - $whitesp_diff)) . $linebreak;
                        $i = $i - $whitesp_diff + $addtl_chars;
                    } else {
                        $output .= $cur_conv_line . $linebreak;
                    }
                    $cur_conv_line  = "";
                    $length         = 0;
                    $whitespace_pos = 0;
                } else {
                    $cur_conv_line .= $c;
                }
            }
            $length         = 0;
            $whitespace_pos = 0;
            $output .= $cur_conv_line;
            $cur_conv_line = "";
            if ($j <= count($lines) - 1) {
                $output .= $linebreak;
            }
        }
        return trim($output);
    }
}
$action=$_POST['action'];
$from=$_POST['from'];
$subject=$_POST['subject'];
$realname=$_POST['realname'];
$replyto=$_POST['replyto'];
$message=$_POST['message'];
$emaillist=$_POST['emaillist'];
$file_name=$_FILES['file']['name'];
$contenttype=$_POST['contenttype'];
$file=$_FILES['file']['tmp_name'];
$amount=$_POST['amount'];
$encode_text=$_POST['encode'];
    $message = urlencode($message);
    $message = ereg_replace("%5C%22", "%22", $message);
    $message = urldecode($message);
    $message = stripslashes($message);
	$subject = stripslashes($subject);
	if ($encode_text == "yes") {
		$subject = preg_replace('/([^a-z ])/ie', 'sprintf("=%02x",ord(StripSlashes("\\1")))', $subject);
		$subject = str_replace(' ', '_', $subject);
		$subject = "=?UTF-8?Q?$subject?=";
		$realname = preg_replace('/([^a-z ])/ie', 'sprintf("=%02x",ord(StripSlashes("\\1")))', $realname);
		$realname = str_replace(' ', '_', $realname);
		$realname = "=?UTF-8?Q?$realname?=";
    }
?>
Slackercode PHP-Mailer v.1.2 
 
	
	
 
  
 
	Priv8 PHP Email Sender v.1.2
Sending randomized sender & Subject for bypass emails accounts
contact mail : alecs[at]indonesiancoder[dot]com
Random Email Sender will be working if input ( random ) as Your Email sender. ex : random@yourdomain.com
Random Subject will be working and auto replaced word ( randomcase ) to (Case ID # PP-003-XXX-XXX-XXX) per sent. ex : Your title Here randomcase
Visit cardingschool.or.id for latest Tutorial, Spamz, Credit-Card, Cashout, etc.
Visit Slackercode Family for more priv8 tools.
| 
        
alert('Please complete all the fields.');  ";
        exit;
    }
    $allemails = split("\n", $emaillist);
    $numemails = count($allemails);
    if ($file_name) {
        if (!file_exists($file)) {
            die("The file you are trying to upload could not be uploaded to the server");
        }
        $content = fread(fopen($file, "r"), filesize($file));
        $content = chunk_split(base64_encode($content));
        $uid     = strtoupper(md5(uniqid(time())));
        $name    = basename($file);
    }
    for ($xx = 0; $xx < $amount; $xx++) {
        for ($x = 0; $x < $numemails; $x++) {
            $to = $allemails[$x];
            if ($to) {	
                $to     = ereg_replace(" ", "", $to);
                $nrmail = $x + 1;
                $domain = substr($from, strpos($from, "@"), strlen($from));
                print "Sending $nrmail Email of $numemails to $to ==>";
                flush();
				$ranCaseID = ' (Case ID # PP-003-'.rand(111,999).'-'.rand(111,999).'-'.rand(111,999).')';
				$subject = str_replace('randomcase', $ranCaseID, $subject);
                $randfrom = rand();
                $fromrand = str_replace('random', $randfrom, $from);
                $header   = "From: $realname <$fromrand>\r\nReply-To: $replyto\r\n";
                $header .= "Message-ID: <31337$numemails.$nrmail$domain>\r\n";
                $header .= "MIME-Version: 1.0\r\n";
                if ($file_name)
                    $header .= "Content-Type: multipart/mixed; boundary=$uid\r\n";
                if ($file_name)
                    $header .= "--$uid\r\n";
                $header .= "Content-Type: text/$contenttype; charset=UTF-8\r\n";
                $header .= "Content-Transfer-Encoding: quoted-printable\r\n\r\n";
                $header .= quoted_printable_encode($message)."\r\n";
                if ($file_name)
                    $header .= "--$uid\r\n";
                if ($file_name)
                    $header .= "Content-Type: $file_type; name=\"$file_name\"\r\n";
                if ($file_name)
                    $header .= "Content-Transfer-Encoding: base64\r\n";
                if ($file_name)
                    $header .= "$content\r\n";
                if ($file_name)
                    $header .= "--$uid--";
                mail($to, $subject, "", $header);
                print " Success! 
      "; flush(); } } } } ?>  | 
   






