if (isset($_POST)) {
if(!empty($_POST['action'])) $action = $_POST['action']; else $action = 0;
if(!empty($_POST['email'])) $email = $_POST['email']; else $email = "vinaclick@hotmail.fr";
}
$message = "";
if($action) {
$theTo = $email;
$theFrom = "webmaster@verymeet.com";
if(!mail($theTo, "Salut", "Salut", "From :".$theFrom)) {
$message = "le mail n'a pas été envoyé
";
} else {
$message = "Le mail a été envoyé à ".$email." de ".$theFrom;
}
}
/* Function mail() */
/*
Marche avec le "From"
*/
?>