Dario anduvo muy bien, muchas gracias!!!!
Ahora sigo preguntando...(si soy un molesto, lo se....
![borracho](http://static.forosdelweb.com/fdwtheme/images/smilies/borracho.png)
)
posteo el codigo de nuevo........
Código:
<?PHP
$to = "[email protected]";
$subject = "inquietud";
$headers = "From: xxx";
$forward = 0;
$location = "";
$date = date ("D/j/y");
$time = date ("G a");
$msg = "Below is the result of your feedback form. It was submitted on $date at $time.\n\n";
if ($_SERVER['REQUEST_METHOD'] == "POST") {
foreach ($_POST as $key => $value) {
$msg .= ucfirst ($key) ." : ". $value . "\n";
}
}
else {
foreach ($_GET as $key => $value) {
$msg .= ucfirst ($key) ." : ". $value . "\n";
}
}
mail($to, $subject, $msg, $headers);
if ($forward == 1) {
header ("Location:$location");
}
else {
header("Location: ok.html");
}
?>
bien y anda perfecto, pero mi mail llega sin formato alguno, todo escrito en times new roman, les dejo un ejemplo:
Cita: Correo enviado desde kuartadimension el día Saturday, August 26th, 2006 a las 08:14 PM.
Nombre : carlos
Email : [email protected]
Como_conociste : por_amigo
Mensaje : ccccc
Newsletter : si y a mi me gustaria que llegase asi:
Cita: Correo enviado desde kuartadimension el día Saturday, August 26th, 2006 a las 08:14 PM. Nombre : carlos
Email : [email protected] Como_conociste : por_amigo
Mensaje : ccccc
Newsletter : si
me explico??? mil gracias de nuevo!!!!!