Código PHP:
<?
include("config.php");
//set_time_limit(0);
/// ejecutor
//------------------------------------- seleciono la nota!!!!!
$db = mysql_connect($host, $usuario,$password);
mysql_select_db($database,$db);
$sql = "SELECT * FROM notas WHERE codigo = '$hiddenota' LIMIT 0,1";
$result = mysql_query($sql,$db);
$myrow = mysql_fetch_array($result);
$mailer= "
<head>
<title>Felicitaciones</title>
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=iso-8859-1\">
</head>
<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"border-collapse: collapse\" bordercolor=\"#111111\" width=\"500\" id=\"AutoNumber1\" height=\"68\">
<tr>
<td width=\"100%\" bgcolor=\"#FF0000\" height=\"68\">
<table border=\"2\" cellpadding=\"0\" cellspacing=\"0\" style=\"border-collapse: collapse\" bordercolor=\"#111111\" width=\"100%\" id=\"AutoNumber2\" height=\"33\">
<tr>
<td width=\"100%\" height=\"33\">
<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"border-collapse: collapse\" bordercolor=\"#111111\" width=\"100%\" id=\"AutoNumber3\" bgcolor=\"#FFFFFF\">
<tr>
<td width=\"34%\" align=\"center\">
<img border=\"0\" src=\"http://www.newslettersantafe.com.ar/admin/images/logo.jpg\" width=\"107\" height=\"37\"></td>
<td width=\"66%\"><font size=\"2\" face=\"Tahoma\">titulo</font>: <font size=\"2\" face=\"Tahoma\"><strong>$myrow[titulo]
</strong></font>
<p><font size=\"2\" face=\"Tahoma\">Introducción: $myrow[introduccion]
</font></p>
<p><font size=\"2\" face=\"Tahoma\">fuente: <em><strong>$myrow[fuente]
</strong></em></font></td>
</tr>
<tr>
<td width=\"100%\" colspan=\"2\"><blockquote>
<font size=\"2\" face=\"Tahoma\"> $myrow[texto]
</font></blockquote></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>";
//-------------------------------------------- aca termina el formato de la nota
$muestro = count($sop);
for ($i=0; $i < $muestro; $i++){
mail("$sop[$i]","news","$mailer","From: [email][email protected][/email]\nContent-Type: text/html; charset=iso-8859-1\nContent-Transfer-Encoding: 8bit\n");
echo $sop[$i]."<br>" ;
/*echo $sop[1].", ";
echo $sop[2].", ";
echo $sop[3].", ";*/
}
?>
como veras, amigo cluster, lo del check box que se llama $sop lo modifique un toque, y recorro el array con un count y un for, todo anda bien, incluso rápido; pero mi pregunta es cuantos mail va a soportar mandar este script?
y por que no llegan bien armados? en alguna casillas como mi hotmail llega bien, en alguna pop3 de dattatec llegan para el traste, llega el codigo html tal como si lo estubiera viendo con un editor.
saludos geniso, y please, respondan algo que me siento cada vez mas perdido
![Neurótico](http://static.forosdelweb.com/fdwtheme/images/smilies/scared.png)
![Neurótico](http://static.forosdelweb.com/fdwtheme/images/smilies/scared.png)
![Neurótico](http://static.forosdelweb.com/fdwtheme/images/smilies/scared.png)
![Neurótico](http://static.forosdelweb.com/fdwtheme/images/smilies/scared.png)