Tema: mailer.php
Ver Mensaje Individual
  #6 (permalink)  
Antiguo 27/08/2006, 07:26
Avatar de DragonX
DragonX
Colaborador
 
Fecha de Ingreso: mayo-2002
Ubicación: Funkyland
Mensajes: 8.433
Antigüedad: 22 años
Puntos: 177
Dario anduvo muy bien, muchas gracias!!!!

Ahora sigo preguntando...(si soy un molesto, lo se.... )

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!!!!!
__________________
Desarrollos dosLotos
Calendario Maya, Meditación, Osho