From 3922bc73c8065916e88a0f3bffc69b934a43943b Mon Sep 17 00:00:00 2001 From: KANE LAZENI Date: Sun, 26 Jul 2026 21:53:10 +0000 Subject: [PATCH] a --- Cron/Cronenvoimailadhrent.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Cron/Cronenvoimailadhrent.php b/Cron/Cronenvoimailadhrent.php index 7ca72a8..31ec09a 100755 --- a/Cron/Cronenvoimailadhrent.php +++ b/Cron/Cronenvoimailadhrent.php @@ -52,8 +52,6 @@ class Cronenvoimailadhrent public function envoyer_un_des_mail() { - $this->body = $this->body; - $this->email->clearAllRecipients(); $this->email->clearAttachments(); @@ -85,8 +83,9 @@ class Cronenvoimailadhrent } $this->email->Subject = $this->objet . " : ".$this->nomProduitSante; - $this->email->Body = $this->body; - + $this->email->Body = nl2br(htmlspecialchars($this->body)); + $this->email->AltBody = $this->body; + $to = $this->email->getToAddresses(); $cc = $this->email->getCcAddresses();