Ver Mensaje Individual
  #3 (permalink)  
Antiguo 09/02/2006, 15:30
Avatar de Jeremias
Jeremias
 
Fecha de Ingreso: agosto-2003
Ubicación: Caracas
Mensajes: 504
Antigüedad: 20 años, 9 meses
Puntos: 0
Aqui Esta

Aqui esta, solo deje del codigo lo necesario
Código PHP:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>
<head>
    <title>Envio de Boletin Informativo</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body>
<?
require ('configuracion.php'); 
$edito $_POST["txtedicion"];
$destinatario $_POST["txtdesti"];
$destinatario .= ", [email protected],";
$destinatario .= $_POST["vec"];
$asunto $_POST["txtasunto"];
$cuerpo '<br><br><img src="http://www.somosciudadanos.org.ve/imagenespu/periodico/periodicoBoletinInformativo.jpg" width="580" height="156"><br><br>';
$cuerpo .= $_POST["txtmensaje"];
$cuerpo .= '<br><br><br><img src="http://www.somosciudadanos.org.ve/imagenespu/periodico/secciones/perciudadania.gif"><br><br>';

 while (
$row0 mysql_fetch_array($result0)) {
$cuerpo .= "<a href='http://www.somosciudadanos.org.ve/periodico/articulo.php?id=".$row0['id']."%20&tabla=ciudadania%20&edi=".$edito."'> <b>".$row0['titulo']."</b><br>".$row0['mancheta']."</a><br><br>";
  }

$cuerpo .= '<br><br><br><img src="http://www.somosciudadanos.org.ve/imagenespu/periodico/secciones/percuentospoesias.gif"><br><br>';

$cuerpo .= '<br><br><br><img src="http://www.somosciudadanos.org.ve/imagenespu/identificadorportal.jpg" width="449" height="155">';


//para el envío en formato HTML
$headers  "MIME-Version: 1.0\r\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";

//dirección del remitente
$headers .= "From: Portal Somos Ciudadanos <[email protected]>\r\n";
$headers .= "Bcc: $destinatario ";
mail("[email protected]",$asunto,$cuerpo,$headers);
?>
</body>
</html>
__________________
Atte. Jere
Agradezco su pronta colaboración.
;-) :arriba:Hoy por mi, mañana por ti:arriba: ;-)