Ver Mensaje Individual
  #1 (permalink)  
Antiguo 28/09/2007, 11:24
konguy
 
Fecha de Ingreso: agosto-2006
Mensajes: 78
Antigüedad: 17 años, 8 meses
Puntos: 0
Por que no me funciona?

Tengo un formulario y llamo a info.php que contiene el siguiente codigo.
Me funciona la opción de CC: pero no me envia correo a mi direccion de mail.
que falla?



<!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>

<body>
<?php
$recipiente = "Mi direccion mail";
$asunto = "Informacion";
$error =0;
$nombre = $_POST['nombre'];
$direccion = $_POST['direccion'];
$telefono = $_POST['telefono'];
$email = $_POST['email'];
$descripcion = $_POST['descripcion'];

$message ="NOMBRE: ".$nombre." - ";
$message .="DIRECCION: ".$direccion." - ";
$message .="TELEFONO: ".$telefono." - ";
$message .="EMAIL: ".$email." - ";
$message .="DESCRIPCION: ".$descripcion." - ";
$message = stripslashes($message);
$headers = "MIME-Version: 1.0\r\n";
$headers .= "Content-type:text/html; charset=iso-8859-1\r\n";
$headers .= "From: $email\r\n";
$headers .= "Repaly-to: $email\r\n";
$headers .= "Cc: $email\r\n";
mail($recipiente,$asunto,$message,$headers);
echo "<b><h3>El mensaje ha sido enviado correctamente!</h3></b><BR>";
echo "<BR>En breve nos pondremos en contacto con usted.<BR>";
?>
</body>
</html>