Ejemplo n.º 1
0
 /**
  * Set CC address(es)
  *
  * @param $addresses
  * @param $name
  *
  * @return bool
  */
 public function setCc($addresses, $name = null)
 {
     $this->checkBatchMaxRecipients(count($addresses), 'cc');
     try {
         $this->message->setCc($addresses, $name);
         return true;
     } catch (\Exception $e) {
         $this->logError($e);
         return false;
     }
 }