$path="../";
$lang="es";
require_once($path."includes/global.inc.php");
if(isset($HTTP_POST_VARS["email"]))
{
$email = trim($HTTP_POST_VARS["email"]);
if(strlen($email)==0)
$warning .= "Todos los campos (*) son obligatorios
";
if (!eregi("^[_\.0-9a-z-]+@([0-9a-z][0-9a-z-]+\.)+[a-z]{2,5}$", $email))
$warning .= "Dirección e mail incorrecta
";
if(!isset($warning)){
$subject="Désinscription à la mailing list du CETIM";
$body .= "> Demande en espagnol
";
$body .="Email: ".$email."";
mail($email_default,$subject,$body,"From: cetim.ch\r\n"."MIME-Version: 1.0\r\n"."Content-type: text/html; charset=iso-8859-1\r\n");
$status = "ok";
}
}
?>
Su pedido ha sido enviado }else{?>";?> |