Ver Mensaje Individual
  #1 (permalink)  
Antiguo 04/07/2007, 02:27
xias
 
Fecha de Ingreso: enero-2002
Mensajes: 838
Antigüedad: 22 años, 4 meses
Puntos: 1
envio de email

Hola:

quiero enviar un email con un determinado contenido.

lo hago de esta manera. el problema es que cuando recibo el email el contenido me aparece en codigo(<table>.-....)

este es el codigo:

Código PHP:
$me_lo_envio="[email protected]";
//Asunto
$asunto="Nuevo miembro";
//Enviamos el mail
mail($me_lo_envio,$asunto"
<table width=399 border=0 cellspacing=0 cellpadding=0>
        <tr> 
          <td width=399 height=19 bgcolor=#EDE4E4><font color=#990000>Datos 
            personales</font></td>
        </tr>
        <tr> 
          <td height=60 valign=top> <table width=379 border=0 cellspacing=0 cellpadding=0>
              <tr> 
                <td width=57 height=18><font color=#990000>Nombre</font></td>
                <td width=111 height=18><font color=#990000>$nombre_usuario2</font></td>
                <td width=110 height=18><font color=#990000>&nbsp;</font></td>
                <td width=101 height=18><font color=#990000>&nbsp;</font></td>
              </tr>
              <tr> 
                <td height=18><font color=#990000>Apellido1</font></td>
                <td height=18><font color=#990000>$apellido12</font></td>
                <td height=18><font color=#990000>Apellido2</font></td>
                <td height=18><font color=#990000>$apellido22</font></td>
              </tr>
              <tr> 
                <td height=18><font color=#990000>Tel&eacute;fono</font></td>
                <td height=18> <font color=#990000>$telefono2</font></td>
                <td height=18><font color=#990000>Fecha de nacimiento</font></td>
                <td height=18><font color=#990000>$fecha_nacimiento2</font></td>
              </tr>
            </table>"
);
    if (
mail!=TRUE)
    {
echo 
"error";
    } 
Gracias, un saludo
__________________
Muchas gracias, saludos.