From 7b3bc0ea44c86479e0fa975380c2f426d9d006ba Mon Sep 17 00:00:00 2001 From: KANE LAZENI Date: Thu, 30 Apr 2026 10:38:27 +0000 Subject: [PATCH] a --- Cron/Functions.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Cron/Functions.php b/Cron/Functions.php index ca8ad189..ed61d912 100755 --- a/Cron/Functions.php +++ b/Cron/Functions.php @@ -848,3 +848,12 @@ function est_anglophone() { return (isset($_SESSION['lang']) && $_SESSION['lang']=="en_US"); } + +function estUnMail($adresseMail) +{ + if (filter_var($adresseMail, FILTER_VALIDATE_EMAIL)) { + return true; + } else { + return false; + } +}