Ver Mensaje Individual
  #1 (permalink)  
Antiguo 13/09/2002, 05:33
sataca
 
Fecha de Ingreso: enero-2002
Ubicación: Barcelona
Mensajes: 279
Antigüedad: 22 años, 3 meses
Puntos: 1
Enviar un Mail en HTML NEWSLETTER

Hola a todos

estoy haciendo un newsletter, pero no consigo que el mail me llegue en formato HTML. ME llega el códiggo fuente.

Uso lo siguiente:

<?

$body="-------------------\n\n".

$body=$body."\n".

"<html><head><title>Firma&l t;/title>\n".
<"meta http-equiv='Content-Type'ext/html; charset=iso-8859-1'></head>\n".
"<body bgcolor=#FFFFFF text=#000000><table border=0 cellpadding=0 cellspacing=0 width=400><tr>\n".
"<tr><td rowspan=2><img name='logofirma_r1_c1' src='mhtml:mid://00000098/!http://www.test.com/ese.gif' width=94 height=134 border=0></td>\n".
"<td><img src='mhtml:mid://00000098/!http://www.ltest.com/firma/spacer.gif' width=37 height=1></td>\n".
"</table></body></html>\n";

$subject="NEWSLETTER PRUEBA";
mail("[email protected]",$subject,$body,&q uot;From: [email protected]");
readfile ("http://www.testt.com/ok.html");

?>