예제 #1
0
파일: Pop3.php 프로젝트: ismaelmelus/home
 public function getRawContent($id, $part = null)
 {
     if ($part !== null) {
         // TODO: implement
         throw new Zend_Mail_Storage_Exception('not implemented');
     }
     $content = $this->_protocol->retrieve($id);
     // TODO: find a way to avoid decoding the headers
     Zend_Mime_Decode::splitMessage($content, $null, $body);
     return $body;
 }
예제 #2
0
파일: Pop3.php 프로젝트: netixx/Stock
 public function getRawContent($id, $part = null)
 {
     if ($part !== null) {
         // TODO: implement
         /**
          * @see Zend_Mail_Storage_Exception
          */
         require_once PHP_LIBRARY_PATH . 'Zend/Mail/Storage/Exception.php';
         throw new Zend_Mail_Storage_Exception('not implemented');
     }
     $content = $this->_protocol->retrieve($id);
     // TODO: find a way to avoid decoding the headers
     Zend_Mime_Decode::splitMessage($content, $null, $body);
     return $body;
 }