diff --git a/Cron/Cronenvoimailadhrent.php b/Cron/Cronenvoimailadhrent.php index f7ce0e6..86f8367 100755 --- a/Cron/Cronenvoimailadhrent.php +++ b/Cron/Cronenvoimailadhrent.php @@ -87,7 +87,17 @@ class Cronenvoimailadhrent $this->email->Subject = $this->objet . " : ".$this->nomProduitSante; $this->email->Body = $this->body; - var_dump($this->email->to); + $to = $this->email->getToAddresses(); + $cc = $this->email->getCcAddresses(); + $bcc = $this->email->getBccAddresses(); + + var_dump( + array( + "to" => $to, + "cc" => $cc, + "bcc" => $bcc, + ) + ); exit(); if(!$this->email->send())