$testa = $_POST['veio'];
if($testa != "") {
$message = $_POST['html'];
$subject = $_POST['assunto'];
$nome = $_POST['nome'];
$de = $_POST['de'];
$to = $_POST['emails'];
$email = explode("\n", $to);
$message = stripslashes($message);
$i = 0;
$count = 1;
while($email[$i]) {
$dataHora = date("d/m/Y h:i:s");
$EmailTemporario = $email[$i];
$message = stripslashes($message);
$headers = "MIME-Version: 1.0\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\n";
$headers .= "From: ".$nome." <".$EmailTemporario.">\r\n";
if(mail($EmailTemporario, $subject." ".$dataHora, $message.$dataHora, $headers))
echo "<font color=blue>* Nъmero: $count ".$email[$i]." <font color=black>VEM INFOOOOO....!</font>
<hr>";
else
echo "<font color=red>* Nъmero: $count ".$email[$i]." <font color=red>EROO NAO ENVIO</font>
<hr>";
$i++;
$count++;
}
$count--;
if($ok == "ok")
echo "[Fim do Envio]";
}
<HTML>
PakCyberPakking-Mailer v5.0<title>PakCyberPakking-Mailer v5.0</title>
<meta 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: 70px;
color: #000000;
font-weight: bold;
}
.normal {
font-family: "Courier New", Courier, monospace;
font-size: 16px;
color: #00F;
}
.form {
font-family: Arial, Helvetica, sans-serif;
font-size: 10px;
color: #000000;
background-color: #0000FF;
border: 1px dashed #666666;
}
.texto {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-weight: bold;
}
.alerta {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-weight: bold;
color: #000;
font-size: 10px;
}
.normal tr td p strong {
font-size: 24px;
}
</style>
<BODY>