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