if (isset ($_GET["error"])){ $error=$_GET["error"]; }else{ $error=""; } if (isset($_POST["txtnombre"])){ $nombre = $_POST['txtnombre']; $telefono = $_POST['txttelefono']; $ciudad = $_POST['txtciudad']; $mail = $_POST['txtmail']; $empresa = $_POST['txtempresa']; $rfc = $_POST['txtrfc']; $calle = $_POST['txtcalle']; $colonia = $_POST['txtcolonia']; $pais = $_POST['txtpais']; $header = 'From: ' . "ventas@mexalitours.com.mx" . " \r\n"; $header .= "X-Mailer: PHP/" . phpversion() . " \r\n"; $header .= "Mime-Version: 1.0 \r\n"; $header .= "Content-type: text/html; charset=iso-8859-1"; //$mensaje =""; //$mensaje .= "
"; $mensaje = " Correo enviado desde el sitio Web www.mexalitours.com.mx