예제 #1
0
파일: Mail.php 프로젝트: pzhu2004/moodle
 /**
  * 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);
 }
예제 #2
0
파일: message.php 프로젝트: jakobsack/mail
 /**
  * @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);
 }