
Reservas
...complete el siguiente formulario con los datos requeridos:
Hipólito Yrigoyen 1942
Buenos Aires - Argentina
Teléfonos de Contacto:
+54 011 5295 4200
function mailSender($email_from,$email_to, $title ,$message, $firstName, $lastName)
{
$recipient = $email_to;
$mail_body = $message;
$subject = $title;
$header = "From: ". $firstName." ".$lastName. " <" . $email_from . ">\n";
$header .= "Reply-To: ".$email_form."\n";
$header .= "MIME-Version: 1.0\n";
$header .= "Content-Type: text/html; charset=ISO-8859-1\n";
$header .= "Content-Transfer-Encoding: 8bit;\n\n";
$header .= "\n";
if(mail($recipient, $subject, $mail_body, $header))
$res = true;
else
$res = false;
return $res;
}
if ( isset($_POST['recipient']) )
{
$destino = $_POST['recipient'];
$origen = $_POST['email'];
$titulo = $_POST['subject'];
$mensaje = 'Ha recibido una solicitud de reserva de '.$_POST["nombre"].'
Telefono: '.$_POST["telefono"].'
E-mail: '.$_POST["email"].'
Fecha de Ingreso: '.$_POST["diaingreso"].' / '.$_POST["mesingreso"].'
Fecha de Egreso: '.$_POST["diaegreso"].' / '.$_POST["mesegreso"].'
Tipo de Habitación: '.$_POST["habitacion"].'
Cantidad de Personas: '.$_POST["cantidaddepersonas"].'';
mailSender($origen,$destino, $titulo ,$mensaje, $_POST['email'], "");
header('location:'.$_POST['redirect']);
}
?>