Jump to content

Katrazkin

Leecher
  • Posts

    1
  • Joined

  • Last visited

Everything posted by Katrazkin

  1. Alguien podria ayudarme con el siguiente codigo porque me funciona llega al destino pero no aparece el nombre telefono correo ni consulta de quien los envia <?php echo "<br>"; echo "<br>"; echo "<p><font color=#404A97>Consulta enviada :</font>"; echo date ( "j - n - Y" ); echo "<br>"; echo "<p><font color=#404A97>Su consulta es la siguiente:</font> "; echo "<br>"; echo "<font color=#404A97>Nombre:</font>",$_POST['nombre'], "<br>"; echo "<font color=#404A97>Telefono:</font> ", $_POST['telefono'],"<br>"; echo "<font color=#404A97>Correo:</font> ",$_POST['correo'],"<br>"; echo "<font color=#404A97>Consulta:</font> ",$_POST['consulta'],"<br>"; ///////////ENVIO DE CORREO/////////////////////////////////// $header = 'From: ' . $_POST['email']. " \r\n"; $header .= "X-Mailer: PHP/" . phpversion() . " \r\n"; $header .= "Mime-Version: 1.0 \r\n"; $header .= "Content-Type: text/plain"; //$mensaje .= "Su e-mail es: " .$email . "\n"; $mensaje .= "CONSULTA DESDE SITIO WEB". "\n"; $mensaje .= "FECHA ENVIO: ".date( "j - n - Y" )."\n"; $mensaje .= "HORA ENVIO: " .date("h:i:s a ")."\n"; $mensaje .= "NOMBRE: " .$_POST['nombre']. "\n"; $mensaje .= "TELEFONO: " .$_POST['telefono']. "\n"; $mensaje .= "CORREO: " .$_POST['correo']. "\n"; $mensaje .= "CONSULTA: " .$_POST['consulta']. "\n"; //aquí validación de forma de pago que enviamos al correo. $mensaje .= "OBSERVACIONES: " .$_POST['observaciones']. "\n"; $mensaje .= $para = '[email protected]'; $mensaje.="-"; //$mensaje .= $para1= '[email protected]'; //$mensaje.="-"; $mensaje .= $asunto = 'CONSULTA DESDE AYELCHENMAPU WEB'; //aquí se envía el email a correo hotel. mail($para, $asunto, utf8_decode($mensaje), $header); //mail($para1, $asunto, utf8_decode($mensaje), $header); ?> se los agradecere enormemente
×
×
  • Create New...