From 618ff728e33b39db158d0b8379c072761c0d59c3 Mon Sep 17 00:00:00 2001 From: KANE LAZENI Date: Wed, 29 Apr 2026 17:47:27 +0000 Subject: [PATCH] a --- Cron/Cronenvoimailadhrent.php | 14 ----------- Cron/Ebenegmail_old.php | 47 ----------------------------------- 2 files changed, 61 deletions(-) delete mode 100755 Cron/Ebenegmail_old.php diff --git a/Cron/Cronenvoimailadhrent.php b/Cron/Cronenvoimailadhrent.php index 6c13f38..40b5fdb 100755 --- a/Cron/Cronenvoimailadhrent.php +++ b/Cron/Cronenvoimailadhrent.php @@ -48,20 +48,6 @@ class Cronenvoimailadhrent require '/var/www/Config/Ebenemailer.php'; $this->email = $_SESSION['c_mail']; - - /* - var_dump( - array( - // "SESSION_c_mail" => $_SESSION['c_mail'], - // "c_mail" => $this->email, - "Host" => $this->email->Host, - "Username" => $this->email->Username, - "Password" => $this->email->Password, - "Port" => $this->email->Port, - ) - ); - exit; - */ } public function envoyer_un_des_mail() diff --git a/Cron/Ebenegmail_old.php b/Cron/Ebenegmail_old.php deleted file mode 100755 index 03632b0..0000000 --- a/Cron/Ebenegmail_old.php +++ /dev/null @@ -1,47 +0,0 @@ -CharSet = 'UTF-8'; // Utiliser UTF-8 -$mail->Encoding = 'base64'; // Encodage du contenu -$mail->isSMTP(); - -//Enable SMTP debugging -// 0 = off (for production use) -// 1 = client messages -// 2 = // dev => client and server messages -// $mail->SMTPDebug = 2; // dev => client and server messages -$mail->SMTPDebug = 0; - -// $mail->Debugoutput = 'html'; - -$mail->Host = 'smtp.gmail.com'; -// $mail->Host = gethostbyname('smtp.gmail.com'); -// if your network does not support SMTP over IPv6 - -$mail->Port = 587; - -$mail->SMTPSecure = 'tls'; - -$mail->SMTPAuth = true; - -// ajout du 18/03/2026 -$mail->CharSet = 'UTF-8'; -$mail->SMTPKeepAlive = true; // ← connexion réutilisée pour tout le batch -$mail->Timeout = 15; -// fin ajout 18/03/2026 - -$mail->Username = "intersantesaas@gmail.com"; -// $mail->Password = "Moritio1973"; -$mail->Password = "qvix febq ylkp enks"; - -$mail->setFrom('intersantesaas@gmail.com', 'INTER-SANTE : EBENE'); - -$_SESSION['c_mail'] = $mail;