Ver Mensaje Individual
  #1 (permalink)  
Antiguo 20/07/2005, 10:52
Avatar de saymon
saymon
 
Fecha de Ingreso: septiembre-2003
Ubicación: Panama
Mensajes: 318
Antigüedad: 20 años, 8 meses
Puntos: 0
funcion mail(), Saben Por Qué sucede esto, please, help me

hola a todos!!

Yo es toy usando la funcion mail() bien. Reviso los correo en hotmail y me llega bien, pero cuando reviso eso correos enviados a otra cuenta, la de mi trabajo, no me interpreta el html, me aparece todo lo que esta entre los tags <html> </html> como texto plano.
Este el sl codigo:

Código PHP:
<? 
$destinatario 
"$select"
$asunto "Contact Us from t News"
$cuerpo 
<html> 
<head> 
<title>Contact Us from  News</title> 
</head> 
<body> 
<center><h3>Contact Us from  News</h3></center> 
<p> 
<b>To:&nbsp;&nbsp;</b>"
.$select."<br> <br>
<b>From:&nbsp;&nbsp;</b>"
.$email."<br> <br>
<b>Subject:&nbsp;&nbsp;</b>"
.$subject."<br> <br>
<b>Message:&nbsp;&nbsp;</b>"
.$message."<br> <br>
</p> 
</body> 
</html> "


//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"



mail($destinatario,$asunto,$cuerpo);
header("Location:/testing/index.html?msg=enviado")
?>