This commit is contained in:
KANE LAZENI 2026-07-26 21:53:10 +00:00
parent 54457ca5a8
commit 3922bc73c8

View File

@ -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();