Ver Mensaje Individual
  #1 (permalink)  
Antiguo 05/11/2010, 17:40
stynpy30
 
Fecha de Ingreso: octubre-2010
Mensajes: 18
Antigüedad: 13 años, 6 meses
Puntos: 0
Pregunta No me envia tres datos de un formulario al correo

Buenas tardes amigos, resulta que tengo la siguiente duda, resulta que tengo un formulario en mi web en el cual todo va bien pero al momento de enviar la informacion del formulario me envia casi todo menos tres campos iniciales que son el Nombre, Sexo, Fecha, les pongo el codigo que utilizo para crear el envio

Codigo php(en el cual se envia al correo)
Código:
<?php 
// INGRESE EL EMAIL DONDE RECIBIRÁ LOS DATOS DEL FOMULARIO
$para = '[email protected]'; 

$asunto = $_POST[""]; 
$mailheader = "From: ".$_POST["email"]."\r\n"; 
$mailheader .= "Reply-To: ".$_POST["email"]."\r\n"; 
$mailheader .= "Content-type: text/html; charset=iso-8859-1\r\n"; 
$MESSAGE_BODY = "Nombre: ".$_POST["nombre"]."<br>"; 
$MESSAGE_BODY .= "Sexo: ".$_POST["sexo"]."<br>"; 
$MESSAGE_BODY .= "Fecha: ".$_POST["fechan"]."<br>"; 
$MESSAGE_BODY .= "Tipo de sangre: ".$_POST["tipo"]."<br>";  
$MESSAGE_BODY .= "Calle y numero: ".$_POST["calle"]."<br>"; 
$MESSAGE_BODY .= "Colonia: ".$_POST["colonia"]."<br>"; 
$MESSAGE_BODY .= "CP: ".$_POST["cp"]."<br>"; 
$MESSAGE_BODY .= "Delegacion: ".$_POST["delegacion"]."<br>"; 
$MESSAGE_BODY .= "Telefono: ".$_POST["telefono"]."<br>"; 
$MESSAGE_BODY .= "Telefono laboral: ".$_POST["telaboral"]."<br>"; 
$MESSAGE_BODY .= "Celular: ".$_POST["celular"]."<br>"; 
$MESSAGE_BODY .= "Referencia: ".$_POST["referencia"]."<br>"; 
$MESSAGE_BODY .= "Poblacion: ".$_POST["poblacion"]."<br>"; 
$MESSAGE_BODY .= "Municipio: ".$_POST["municipio"]."<br>"; 
$MESSAGE_BODY .= "Nivel de estudios: ".$_POST["nivel"]."<br>"; 
$MESSAGE_BODY .= "Profesion: ".$_POST["profesion"]."<br>"; 
$MESSAGE_BODY .= "Especialidad: ".$_POST["especialidad"]."<br>"; 
$MESSAGE_BODY .= "Ocupacion: ".$_POST["ocupacion"]."<br>"; 
$MESSAGE_BODY .= "Religion: ".$_POST["religion"]."<br>"; 
$MESSAGE_BODY .= "Partido: ".$_POST["partido"]."<br>"; 
$MESSAGE_BODY .= "Email: ".$_POST["email"]."<br>"; 
$MESSAGE_BODY .= "Estado civil: ".$_POST["Estado"]."<br>"; 
mail($para, $asunto, $MESSAGE_BODY, $mailheader) or die ("Error al enviar el Formulario !"); 

//MODIFICAR A LA DIRECCIÓN EN SU SERVIDOR
header( 'Location: http://www.cgusc.com.mx/gracias.html' )
?>
Espero que me ayuden y gracias de antemano.