<link rel='icon' href='https://e.top4top.io/p_26973oc9i1.png' sizes='20x20' type='image/png'>
News Mailer<title>News Mailer</title>
if(isset($_POST['submit'])){
$nama=$_POST['sendername'];
$nama1=$_POST['sendermail'];
$random = rand(0,100000).$_SERVER['REMOTE_ADDR'];
$dst = substr(md5($random), 0, 10);
$emailer = str_replace('[rand]', $dst, $nama1);
$sender= $nama.'<'.$emailer.'>';
$headers .= 'From: '.$sender. "\r\n";
$headers .= "Content-Type: text/html; charset=ISO-8859-1\r\n";
$subject= $_POST['subject'];
$letter = $_POST['letter'];
$mailist = $_POST['mailist'];
$to = $mailist;
$message = $letter;
$line = 0;
$tLignes = explode("\n",$_POST['mailist']);
foreach ($tLignes as $em){
$line = $line+1;
}
<H4>Total emails : echo $line; </H4>
$spamed = 0;
foreach ($tLignes as $em){
$spamed = $spamed+1;
if(mail($em, $subject, $message, $headers)){
echo "Delivered ".$Delivered."/".$line." =>".$em." => INBOX <i>email : ".$emailer."</i><BR>";
}
sleep($_POST['sleep']);
}
}