예제 #1
0
 /**
  * Set BCC address(es)
  *
  * @param $addresses
  * @param $name
  *
  * @return bool
  */
 public function setBcc($addresses, $name = null)
 {
     $this->checkBatchMaxRecipients(count($addresses), 'bcc');
     try {
         $this->message->setBcc($addresses, $name);
         return true;
     } catch (\Exception $e) {
         $this->logError($e);
         return false;
     }
 }