Exemplo n.º 1
0
 /**
  * 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);
 }
Exemplo n.º 2
0
 /**
  * @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);
 }