Ver Mensaje Individual
  #2 (permalink)  
Antiguo 03/08/2004, 05:58
Enea
 
Fecha de Ingreso: junio-2003
Mensajes: 744
Antigüedad: 20 años, 10 meses
Puntos: 0
Mira te paso un ejemplo de como lo hago yo... a ver si te gusta o te es más sencillo.

Código:
$destino="DIRECCIÓN DE CORREO DE DESTINO";
$asunto="ASUNTO QUE QUIERAS QUE LLEGUE EN EL MAIL";
$todo="<font face='Verdana, Arial, Bauhaus' size='2'><b><center>BLA BLA BLA...</center></b></font><br>";
$todo.="

<table width='85%' align='center'>
<tr>
<td width='25%'><font face='Verdana, Arial, Bauhaus' size='2' color='#FF0000'>Referencia</font></td>
</tr>
<tr>
<td width='25%'><font face='Verdana, Arial, Bauhaus' size='2' color='#FF0000'>$Id_producto</font></td>
</tr>
<table>";

ini_set(sendmail_from,"DIRECCIÓN DE CORREO DE DESTINO");
$variable=mail($destino,$asunto,$todo,"Content-type: text/html; charset='iso-8859-1'\nFrom: DIRECCIÓN DE CORREO DE ENVIO\nReply-To: DIRECCIÓN DE CORREO PARA CONTESTAR\nX-Mailer: PHP/".phpversion());
A mi me es muy práctico y yo lo veo muy sencillo, en el todo puedes meter tantas tablas o historias como quieras, yo solo te he mostrado una para q no se hiciera muy larga la cosa...

Ya me contarás cosas...

Ta luego
__________________
Ibisof | Saludos desde Eivissa !!! :p