From ed71c1444a808fa3f48cbf4efdd88edc66db4fe5 Mon Sep 17 00:00:00 2001 From: KANE LAZENI Date: Thu, 30 Apr 2026 10:35:42 +0000 Subject: [PATCH] a --- Cron/Functions.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Cron/Functions.php b/Cron/Functions.php index f851574..c0353f8 100755 --- a/Cron/Functions.php +++ b/Cron/Functions.php @@ -789,3 +789,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; + } +}