if($_POST){ //Para asegurarnos que viene de este formulario if(!eregi('http://www.cazpisem.com',$_SERVER['HTTP_REFERER'])){ header("LOCATION: http://www.cazpisem.com/"); } //Incluimos las clases necesarias require_once "../clases/class.Inputfilter.php"; require_once "../clases/class.Phpmailer.php"; $body =""; $body .= "Has recibido un contacto en Cazpi_en:\n"; $body .= "--------------------------------------------------------------------\n"; $body .= "Nombre: ".$_POST['nombre']."\n"; $body .= "Apellido: ".$_POST['apellido']."\n"; $body .= "Email: ".$_POST['email']."\n"; $body .= "Telefono: ".$_POST['telefono']."\n"; $body .= "----------------------\n"; $body .= "Comentarios: \n"; $body .= $_POST['texto']; $filtro = new InputFilter(); $mailer = new PHPMailer(); ini_set(sendmail_from,'christian@cazpisem.com'); $mailer->IsHTML(false); $mailer->From = $filtro->emailProcces($_POST['email']); $mailer->FromName = $filtro->emailProcces($_POST['nombre']).' '.$filtro->emailProcces($_POST['apellido']); $mailer->Subject = "Contacto en Cazpi_en"; $mailer->AddAddress('federico@cazpisem.com'); $mailer->AddAddress('christian@cazpisem.com'); $mailer->AddReplyTo($filtro->emailProcces($_POST['email']), $filtro->emailProcces($_POST['nombre']).' '.$filtro->emailProcces($_POST['apellido'])); $mailer->Body = $body; $enviado = $mailer->Send(); }else{ $enviado = false; } ?>

Thank you for contact us You may also contact us at (USA) 415 692 5452.,
(Argentina) 54 11 45 67 02 60
Or you may send us an email to:Christian Azpiroz, Founder & CEO,christian@cazpisem.com
MSN: cazpi@hotmail.com
if(!$enviado){ ?>
NOTE: We assume the compromise of delivering close quotes. Please, include all the details regarding your needs. Omited or non specified requirements will not be included on your quote.
}else{ ?>We received your information and we will contact you as soon as possible.
} ?>