Ver Mensaje Individual
  #5 (permalink)  
Antiguo 25/02/2008, 16:02
Avatar de hgp147
hgp147
 
Fecha de Ingreso: diciembre-2006
Ubicación: Buenos Aires, Argentina
Mensajes: 980
Antigüedad: 17 años, 3 meses
Puntos: 36
Re: Publicidad Para Mail

Lo de cargar toda la lista de Excel nose como hacerlo. Modifique el código para que no se vean los destinatarios entre si.

Código PHP:
<?php

$remitente 
"[email protected]";

$codigohtml '
<html>
<head>
<title>"Soluciones Inteligentes ::: title>
</head>

<body>
<table width="500" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><div align="center"><a href="http://www.misitio.com"><img src="http://www.misistio.com/img/fot1.jpg" width="500" height="293" border="0"></a></div></td>
</tr>
</table>
</body>
</html>
'
;

$asunto "Soluciones Inteligentes :: Para Negocios Inteligentes";

// No modifiques el codigo de abajo

$destinos $_POST["destinos"];

$cabeceras "From: $remitente\n";
$cabeceras .= "Content-Type: text/html";

$cabeceras .= "BCC: $destino\n";


$destinatarios = array($destinos);

foreach(
$destinatarios as $destino){

mail($destino$asunto$codigohtml$cabeceras);

}

?>