Ver Mensaje Individual
  #1  
Antiguo 29-mar-2008, 20:43
Avatar de guille
guille guille está desconectado
Foorero
 
Fecha de Ingreso: enero-2007
Mensajes: 69
Gracias: 0
Agradecido 0 veces en 0 Post
Predeterminado Formulario Contacto

Bueno la mano viene asi... tengo un formulario de contacto en una pagina (aca). Esta el archivo Contacto.html y el archivo Enviar.php donde estan las ordenes...

Enviar.php:

<?

$sendTo = $_POST['remit2'];
$subject = $_POST["asunto"];
$headers = "From: " . $_POST['remit'];
$headers .= "<" . $_POST['remit2'] . ">\r\n";
$headers .= "Reply-To: " . $_POST['remit2'];
$message = '<strong>Nombre</strong>: ' . $_POST['remit'];
$message .= '<br /><br /><strong>Email</strong>: ' . $_POST['remit2'];
$message .= '<br /><br /><strong>Lugar</strong>: ' . $_POST['lugar'];
$message .= '<br /><br /><strong>Asunto</strong>: ' . $_POST['asunto'];
$message .= '<br /><br /><strong>Mensaje</strong>: ' . $_POST['cuerpo'];

mail("guillermodelicia@gmail.com", $subject, $message, $headers);

echo "<meta http-equiv='refresh' content='0; url=http://munashpa.byethost16.com/otros/sent.htm'>";

?>

Hasta ahi todo bien, el tema es que cuando llegan los mensajes a la casilla de correo, parece que no admite el codigo Html como <strong> o <br />

O sea llega asi al correo:


<strong>Nombre</strong>: GUILLERMO DELICIA<br /><br /><strong>Email</strong>: TUVIEJA@TUVIEJA.COM<br /><br /><strong>Lugar</strong>: ROSARIO<br /><br /><strong>Asunto</strong>: PRESENTACION 6<br /><br /><strong>Mensaje</strong>: AHDAHHAHAHAHAH ESTOY RE LOCOOASDOJAODJ ASDOASJD



Que hago mal? Lo que quiero es que llegue bien limpito, lo probe en gmail y en hotmail y es lo mismo.

Muchas gracias

Última edición por guille; 30-mar-2008 a las 14:59.
Responder Citando