Comunidad de diseño web y desarrollo en internet online

AYUDA Por favor

Citar            
MensajeEscrito el 10 Jun 2008 10:33 pm
Hola Soy Novato en el tema , Tengo problema cuando llegan los correos, estos traen toda la codificacion <Text Format> :

Este mensaje fue enviado por <TEXTFORMAT LEADING=\"2\"><P ALIGN=\"LEFT\"><FONT
FACE=\"Arial\" SIZE=\"14\" COLOR=\"#000000\" LETTERSPACING=\"0\"
KERNING=\"0\">andres</FONT></P></TEXTFORMAT>, de la persona
Su e-mail es: <TEXTFORMAT LEADING=\"2\"><P ALIGN=\"LEFT\"><FONT FACE=\"Arial\"
SIZE=\"14\" COLOR=\"#000000\" LETTERSPACING=\"0\"
KERNING=\"0\">[email protected]</FONT></P></TEXTFORMAT>
Mensaje: <TEXTFORMAT LEADING=\"2\"><P ALIGN=\"LEFT\"><FONT FACE=\"Arial\"
SIZE=\"14\" COLOR=\"#000000\" LETTERSPACING=\"0\"
KERNING=\"0\"></FONT></P></TEXTFORMAT><TEXTFORMAT LEADING=\"2\"><P
ALIGN=\"LEFT\"><FONT FACE=\"Arial\" SIZE=\"14\" COLOR=\"#000000\"
LETTERSPACING=\"0\" KERNING=\"0\">quisiera saber mas acerca de la fundacion
,suus miembros, como se puede ayudar , como canalizan recursos , que proyectos
tienen.</FONT></P></TEXTFORMAT> Enviado el 28/05/2008

la codificacion en php esta asi

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Documento sin t&iacute;tulo</title>
</head>

</style>
<form id="form1" name="form1" method="post" action="send.php">
<label>
<body>
<?php

$nombre = $_POST['nombre'];
$mail = $_POST['mail'];

$header = 'From: ' . $mail . " \r\n";
$header .= "X-Mailer: PHP/" . phpversion() . " \r\n";
$header .= "Mime-Version: 1.0 \r\n";
$header .= "Content-Type: text/plain";

$mensaje = "Este mensaje fue enviado por " . $nombre . ", de la persona " ."\r\n";
$mensaje .= "Su e-mail es: " .$_POST['mail'] . " \r\n";
$mensaje .= "Mensaje: " . $_POST['mensaje'] . " \r\n";
$mensaje .= "Enviado el " . date('d/m/Y', time());

$para = '[email protected]';
$asunto = 'Contacto desde TODOHOCKEYSP';

mail($para, $asunto, utf8_decode($mensaje), $header);

echo 'Gracias por sus comentarios! pronto atenderemos su solicitud';

?>

</body>
</html>

Y la codificacion en Flash asi:

on (release) {
loadVariables("send.php", this, "POST");
nextFrame();
}

Por ilka

0 de clabLevel



Genero:Masculino  

msie7
Citar            
MensajeEscrito el 10 Jun 2008 10:40 pm
Cambia el tipo de contenido en el header, lo tienes como texto plano y debes colocarlo como html

Por The Fricky!

Presidente

6168 de clabLevel

3 tutoriales
8 articulos

Genero:Masculino   Bastard Operators From Hell Héroes

Piccola Venezia...

firefox

 

Cristalab BabyBlue v4 + V4 © 2011 Cristalab
Powered by ClabEngines v4, HTML5, love and ponies.