<?php
/*
Coded HeKToR
*/
$testa = $_POST['veio'];
if($testa != "") {
        $message = $_POST['html'];
        $subject = $_POST['assunto'];
        $nome = $_POST['nome'];
        $de = $_POST['de'];
        $to = $_POST['emails'];
        $headers  = "MIME-Version: 1.0\r\n";
        $headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
        $email = explode("\n", $to);
        $headers .= "From: ".$nome." <".$de.">\r\n";
        $message = stripslashes($message);
        $i = 0;
        $count = 1;
        while($email[$i]) {
                $ok = "ok";
                if(mail($email[$i], $subject, $message, $headers))
                echo "* $count Nolu E-Maili siteniz.Com :>> <b>".$email[$i]."</b> <font color=green>Adresine Teslim Etti...</font><br><hr>";
                else
                echo "* $count Nolu E-Mail :>> <b>".$email[$i]."</b> <font color=red>Hata gitmedi</font><br><hr>";
                $i++;
                $count++;
        }
        $count--;
        if($ok == "ok")
        echo "<script> alert('Toplam gonderilen email. ".$count." adettir.'); </script>";
}
?>
<html>
<head>
<title>Toplu Mail v2.0</title>
<style type="text/css">
<!--
.style3 {
	color: #000000;
	font-style: italic;
}
-->
</style>
****** http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style>
body {
        margin-left: 0;
        margin-right: 0;
        margin-top: 0;
        margin-bottom: 0;
}
.titulo {
        font-family: Arial, Helvetica, sans-serif;
        font-size: 50px;
        color: #000000;
        font-weight: bold;
}
.normal {
        font-family: Arial, Helvetica, sans-serif;
        font-size: 12px;
        color: #000000;
}
.form {
        font-family: Arial, Helvetica, sans-serif;
        font-size: 10px;
        color: #333333;
        background-color: #FFFFFF;
        border: 1px dashed #666666;
}
.texto {
        font-family: Verdana, Arial, Helvetica, sans-serif;
        font-weight: bold;
}
.alerta {
        font-family: Verdana, Arial, Helvetica, sans-serif;
        font-size: 10px;
        font-weight: bold;
        color: #990000;
       }
.style5 {font-family: Verdana, Arial, Helvetica, sans-serif; font-weight: bold; color: #000066; }
.style7 {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; font-weight: bold; color: #000066; }
.style8 {color: #000066}
.style9 {font-family: Arial, Helvetica, sans-serif; font-size: 50px; color: #000066; font-weight: bold; }
</style>
</head>
<body><center>
<form action="" method="post" enctype="multipart/form-data" name="form1">
  <input type="hidden" name="veio" value="sim">
  <table width="600" height="600" border="0" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC" class="normal">
    <tr>
      <td width="600" height="25" align="center" bgcolor="#666666"><span class="style9">
      <font face="Microsoft Sans Serif" size="4">&nbsp;</font></span><span class="style9"><font style="font-size: 33pt" face="Microsoft Sans Serif"> HEKTOR MAİLİNG </font><font face="Microsoft Sans Serif" size="5">2.0</font></span>
      <p>&nbsp;</p>
      <p></td>
    </tr>
    <tr>
      <td height="194" valign="top" bgcolor="#000000">
                <table width="100%"  border="0" cellpadding="0" cellspacing="5" class="normal" height="420">
                  <tr>
            <td height="2" align="right" bgcolor="#FFFFFF">
              <span class="texto"><font face="Microsoft Sans Serif"><span class="style8">Gonderenin Ismi</span></font></span><font color="#00FF00"><span class="texto"><font face="Microsoft Sans Serif"> :</font></span></font></td>
            <td width="65%" height="33" bgcolor="#999999">
            <font face="Microsoft Sans Serif" color="#00FF00">
            <input name="nome" type="text" class="form" id="nome" style="width:50%" size="20" >
            </font> </td>
          </tr>
                  <tr>
            <td height="26" align="right" bgcolor="#FFFFFF">
              <span class="texto"><font face="Microsoft Sans Serif"><span class="style8">Gonderenin E-Mail Adresi </span></font></span><font color="#00FF00"><span class="texto"><font face="Microsoft Sans Serif">:</font></span></font></td>
            <td width="65%" height="21" bgcolor="#999999">
            <font face="Microsoft Sans Serif" color="#00FF00">
            <input name="de" type="text" class="form" id="de" style="width:50%" size="20" ></font></td>
                  </tr>
          <tr>
            <td height="17" align="right" bgcolor="#FFFFFF">
              <span class="style5"><font face="Microsoft Sans Serif">Konusu :</font></span></td>
            <td height="17" bgcolor="#999999">
            <font face="Microsoft Sans Serif" color="#00FF00">
            <input name="assunto" type="text" class="form" id="assunto" style="width:100%" size="20" ></font></td>
          </tr>
          <tr align="center" bgcolor="#99CCFF">
            <td height="20" colspan="2" bgcolor="#CCCCCC">&nbsp;
              <p>
                <span class="style5"><font face="Microsoft Sans Serif">E-Mail Konusu HTML olarak yazabirsiniz:</font></span></td>
          </tr>
          <tr align="right">
            <td height="146" colspan="2" valign="top" bgcolor="#CCCCCC">
            <font face="Microsoft Sans Serif" color="#00FF00"><br>
              <textarea name="html" style="width:100%" rows="8" wrap="VIRTUAL" class="form" id="html" cols="20"></textarea>
            </font>
              <span class="style7">
              <font face="Microsoft Sans Serif">*E-Mail icerigi: txt veya HTML</font></span></td>
          </tr>
          <tr align="center" bgcolor="#99CCFF">
            <td height="47" colspan="2" bgcolor="#CCCCCC">
            <p style="margin-top: 0; margin-bottom: 0">&nbsp;</p>
            <p style="margin-top: 0; margin-bottom: 0">&nbsp;</p>
            <p style="margin-top: 0; margin-bottom: 0">
              <span class="style5"><font face="Microsoft Sans Serif">Gondereceginiz E-Maileri</font></span>            </p>
              <p style="margin-top: 0; margin-bottom: 0"><span style="color: #000066"><span class="texto">
              <font face="Microsoft Sans Serif">alt alta gelecek sekilde Listeleyiniz</font></span></span></td>
          </tr>
          <tr align="right">
            <td height="136" colspan="2" valign="top" bgcolor="#CCCCCC">
            <font face="Microsoft Sans Serif" color="#00FF00"><br>
              <textarea name="emails" style="width:100%" rows="8" wrap="VIRTUAL" class="form" id="emails" cols="20"></textarea>
            </font>
              <span class="style7">
              <font face="Microsoft Sans Serif">*E-Mail listeniz tamamsa</font></span><span class="style8">
               </span></td>
          </tr>
          <tr>
            <td height="26" colspan="2" align="right" valign="top" bgcolor="#CCCCCC">
            <font color="#00FF00" face="Microsoft Sans Serif">
            <input type="submit" name="Submit" value="Gonder"></font></td>
          </tr>
        </table>
      </td>
    </tr>
    <tr>
      <td height="15" align="center" bgcolor="#FFFFFF">
      <p style="MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px">
      <font color="#00ff00" face="Microsoft Sans Serif">&nbsp;</font></p>
      <p class="style3" style="margin-top: 0; margin-bottom: 0"><font size="1" face="Microsoft Sans Serif">sistem direk olarak mailleri g&ouml;ndermektedir.hi&ccedil; bir şekilde &uuml;crete gerek yoktur. </font></td></td>
    </tr>
  </table>
</form>
</body>
Spama gidip gitmemesi tamamen sizin mail serveriniz ile alakalı bir durum bu sadece toplu gönderime yardımcı olur