/** * Removes message recipients. * * @param string|array List of recipients, either as a comma separated * list or as an array of email addresses. * * @throws Horde_Mime_Exception */ public function removeRecipients($recipients) { $this->_recipients->remove($recipients); }
/** * @param string $ownMail */ public function getReplyCcList($ownMail) { $e = $this->getEnvelope(); $list = new \Horde_Mail_Rfc822_List(); $list->add($e->to); $list->add($e->cc); $list->unique(); $list->remove($ownMail); return $this->convertAddressList($list); }