Hola yo hice este mailer que funciona con la funcion mail() de php llega a bandeja de hotmail,yahoo,gmail funciona correctamente yo lo eh comprobado e investigue bastante pero si haces mucho spam te bloquean la ip x hacer spam y luego llega a spam los mensajes. bye saludos.
Código PHP:
<?php
//
//Darkperu
//
set_time_limit(0);
if($_POST['Manda'])
{
//EMAIL DO DESTINAT?RIO
$FromName = $_POST['FromName'];
$FromMail = $_POST['FromMail'];
//ASSUNTO DO EMAIL
$assunto = $_POST['assunto'];
//MENSAGEM DO EMAIL
$mensagem = $_POST['html'];
$mensagem = stripslashes($mensagem);
//CABE?ALHO DO EMAIL
$headers .= "MIME-Version: 1.0\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\n";
$headers .= "From: ".$FromName . " <" . $FromMail . ">\n";
$headers .= "To: ".$FromName . " <" . $FromMail . ">\n";
$headers .= "Reply-To: " . $FromMail . "\n";
$headers .= "X-Priority: 1\n";
$headers .= "X-MSMail-Priority: High\n";
$headers .= "X-Mailer: Widgets.com Server";
//ARQUIVO COM OS EMAILS
$arquivo = $_POST['lista'];
//GERANDO UM ARRAY COM A LISTA
$file = explode("\n", $arquivo);
$i = 1;
}
?>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<p> </p>
<style type="text/css">
td {
font-family:verdana;
color:#000000;
font-size:10px;
}
</style>
<?
if($_POST['Manda']) { ?>
<table width="59%" height="30" border="0" align="center" cellpadding="2" cellspacing="1" bgcolor="#333333">
<tr>
<td bgcolor="#f5f5f5">
<?
foreach ($file as $mail) {
if(mail($mail, $assunto, $mensagem, $headers)) {
echo "<font color=green face=verdana size=1>* $i - ".$mail."</font> <font color=green face=verdana size=1>OK</font><br>";
} else {
echo "* $i ".$mail[$i]." <font color=red>NO</font><br><hr>";
$i++;
}
}
?>
</td>
</tr>
</table>
<? } ?>
<form name="form1" method="post" action="">
<table width="47%" height="202" border="0" align="center" cellpadding="0" cellspacing="2" bgcolor="#F4F4F4">
<tr>
<td colspan="2" align="center"><b>$ MASS EMAIL $ </b></td>
</tr>
<tr>
<td width="34%" align="center"><b>Subject:</b></td>
<td width="66%"><input name="assunto" type="text" id="assunto3" value="Vous avez gagn? 5000$ comme cadeau de no?l!" size="50"></td>
</tr>
<tr>
<td align="center"><b>Sender Name:</b></td>
<td><input name="FromName" type="text" value="Concours Desjardins" size="50"></td>
</tr>
<tr>
<td align="center"><b>Sender Email:</b></td>
<td><input name="FromMail" type="text" size="50"></td>
</tr>
<tr>
<td><b>MSG:</b></td>
<td><textarea name="html" cols="38" rows="10" id="textarea2"></textarea></td>
</tr>
<tr>
<td><b>E-MAILS:</b></td>
<td><textarea name="lista" cols="38" rows="10" id="textarea3"></textarea></td>
</tr>
<tr>
<td align="center" colspan="2"><input name="Manda" type="submit" id="Manda" value="Enviar"></td>
</tr>
</table>
</form>