亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? imap.php

?? Bug tracker, and reporter.
?? PHP
?? 第 1 頁 / 共 2 頁
字號:
<?php/** * Zend Framework * * LICENSE * * This source file is subject to version 1.0 of the Zend Framework * license, that is bundled with this package in the file LICENSE.txt, and * is available through the world-wide-web at the following URL: * http://framework.zend.com/license/new-bsd. If you did not receive * a copy of the Zend Framework license and are unable to obtain it * through the world-wide-web, please send a note to license@zend.com * so we can mail you a copy immediately. *  * @category   Zend * @package    Zend_Mail * @subpackage Storage * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com) * @license    http://framework.zend.com/license/new-bsd     New BSD License * @version    $Id: Imap.php 8928 2008-03-20 19:41:41Z thomas $ *//** * @see Zend_Mail_Storage_Abstract */require_once 'Zend/Mail/Storage/Abstract.php';/** * @see Zend_Mail_Protocol_Imap */require_once 'Zend/Mail/Protocol/Imap.php';/** * @see Zend_Mail_Storage_Writable_Interface */require_once 'Zend/Mail/Storage/Writable/Interface.php';/** * @see Zend_Mail_Storage_Folder_Interface */require_once 'Zend/Mail/Storage/Folder/Interface.php';/** * @see Zend_Mail_Storage_Folder */require_once 'Zend/Mail/Storage/Folder.php';/** * @see Zend_Mail_Message */require_once 'Zend/Mail/Message.php';/** * @see Zend_Mail_Storage */require_once 'Zend/Mail/Storage.php';/** * @category   Zend * @package    Zend_Mail * @subpackage Storage * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com) * @license    http://framework.zend.com/license/new-bsd     New BSD License */class Zend_Mail_Storage_Imap extends Zend_Mail_Storage_Abstract                             implements Zend_Mail_Storage_Folder_Interface, Zend_Mail_Storage_Writable_Interface{    // TODO: with an internal cache we could optimize this class, or create an extra class with    // such optimizations. Especially the various fetch calls could be combined to one cache call    /**     * protocol handler     * @var null|Zend_Mail_Protocol_Imap     */    protected $_protocol;    /**     * name of current folder     * @var string     */    protected $_currentFolder = '';    /**     * imap flags to constants translation     * @var array     */    protected static $_knownFlags = array('\Passed'   => Zend_Mail_Storage::FLAG_PASSED,                                          '\Answered' => Zend_Mail_Storage::FLAG_ANSWERED,                                          '\Seen'     => Zend_Mail_Storage::FLAG_SEEN,                                          '\Deleted'  => Zend_Mail_Storage::FLAG_DELETED,                                          '\Draft'    => Zend_Mail_Storage::FLAG_DRAFT,                                          '\Flagged'  => Zend_Mail_Storage::FLAG_FLAGGED);    /**     * Count messages all messages in current box     *     * @return int number of messages     * @throws Zend_Mail_Storage_Exception     * @throws Zend_Mail_Protocol_Exception     */    public function countMessages()    {        if (!$this->_currentFolder) {            /**             * @see Zend_Mail_Storage_Exception             */            require_once 'Zend/Mail/Storage/Exception.php';            throw new Zend_Mail_Storage_Exception('No selected folder to count');        }        // we're reselecting the current mailbox, because STATUS is slow and shouldn't be used on the current mailbox        $result = $this->_protocol->select($this->_currentFolder);        return $result['exists'];    }    /**     * get a list of messages with number and size     *     * @param int $id number of message     * @return int|array size of given message of list with all messages as array(num => size)     * @throws Zend_Mail_Protocol_Exception     */    public function getSize($id = 0)    {        if ($id) {            return $this->_protocol->fetch('RFC822.SIZE', $id);        }        return $this->_protocol->fetch('RFC822.SIZE', 1, INF);    }    /**     * Fetch a message     *     * @param int $id number of message     * @return Zend_Mail_Message     * @throws Zend_Mail_Protocol_Exception     */    public function getMessage($id)    {        $data = $this->_protocol->fetch(array('FLAGS', 'RFC822.HEADER'), $id);        $header = $data['RFC822.HEADER'];        $flags = array();        foreach ($data['FLAGS'] as $flag) {            $flags[] = isset(self::$_knownFlags[$flag]) ? self::$_knownFlags[$flag] : $flag;        }        return new $this->_messageClass(array('handler' => $this, 'id' => $id, 'headers' => $header, 'flags' => $flags));    }    /*     * Get raw header of message or part     *     * @param  int               $id       number of message     * @param  null|array|string $part     path to part or null for messsage header     * @param  int               $topLines include this many lines with header (after an empty line)     * @param  int $topLines include this many lines with header (after an empty line)     * @return string raw header     * @throws Zend_Mail_Protocol_Exception     * @throws Zend_Mail_Storage_Exception     */    public function getRawHeader($id, $part = null, $topLines = 0)    {        if ($part !== null) {            // TODO: implement            /**             * @see Zend_Mail_Storage_Exception             */            require_once 'Zend/Mail/Storage/Exception.php';            throw new Zend_Mail_Storage_Exception('not implemented');        }        // TODO: toplines        return $this->_protocol->fetch('RFC822.HEADER', $id);    }    /*     * Get raw content of message or part     *     * @param  int               $id   number of message     * @param  null|array|string $part path to part or null for messsage content     * @return string raw content     * @throws Zend_Mail_Protocol_Exception     * @throws Zend_Mail_Storage_Exception     */    public function getRawContent($id, $part = null)    {        if ($part !== null) {            // TODO: implement            /**             * @see Zend_Mail_Storage_Exception             */            require_once 'Zend/Mail/Storage/Exception.php';            throw new Zend_Mail_Storage_Exception('not implemented');        }        return $this->_protocol->fetch('RFC822.TEXT', $id);    }    /**     * create instance with parameters     * Supported paramters are     *   - user username     *   - host hostname or ip address of IMAP server [optional, default = 'localhost']     *   - password password for user 'username' [optional, default = '']     *   - port port for IMAP server [optional, default = 110]     *   - ssl 'SSL' or 'TLS' for secure sockets     *   - folder select this folder [optional, default = 'INBOX']     *     * @param  array $params mail reader specific parameters     * @throws Zend_Mail_Storage_Exception     * @throws Zend_Mail_Protocol_Exception     */    public function __construct($params)    {        if (is_array($params)) {            $params = (object)$params;        }        $this->_has['flags'] = true;        if ($params instanceof Zend_Mail_Protocol_Imap) {            $this->_protocol = $params;            try {                $this->selectFolder('INBOX');            } catch(Zend_Mail_Storage_Exception $e) {                /**                 * @see Zend_Mail_Storage_Exception                 */                require_once 'Zend/Mail/Storage/Exception.php';                throw new Zend_Mail_Storage_Exception('cannot select INBOX, is this a valid transport?');            }            return;        }        if (!isset($params->user)) {            /**             * @see Zend_Mail_Storage_Exception             */            require_once 'Zend/Mail/Storage/Exception.php';            throw new Zend_Mail_Storage_Exception('need at least user in params');        }        $host     = isset($params->host)     ? $params->host     : 'localhost';        $password = isset($params->password) ? $params->password : '';        $port     = isset($params->port)     ? $params->port     : null;        $ssl      = isset($params->ssl)      ? $params->ssl      : false;        $this->_protocol = new Zend_Mail_Protocol_Imap();        $this->_protocol->connect($host, $port, $ssl);        if (!$this->_protocol->login($params->user, $password)) {            /**             * @see Zend_Mail_Storage_Exception             */            require_once 'Zend/Mail/Storage/Exception.php';            throw new Zend_Mail_Storage_Exception('cannot login, user or password wrong');        }        $this->selectFolder(isset($params->folder) ? $params->folder : 'INBOX');    }    /**     * Close resource for mail lib. If you need to control, when the resource     * is closed. Otherwise the destructor would call this.     *     * @return null     */    public function close()    {        $this->_currentFolder = '';        $this->_protocol->logout();    }    /**     * Keep the server busy.     *     * @return null     * @throws Zend_Mail_Storage_Exception     */    public function noop()    {        if (!$this->_protocol->noop()) {            /**             * @see Zend_Mail_Storage_Exception             */            require_once 'Zend/Mail/Storage/Exception.php';            throw new Zend_Mail_Storage_Exception('could not do nothing');        }    }    /**     * Remove a message from server. If you're doing that from a web enviroment     * you should be careful and use a uniqueid as parameter if possible to     * identify the message.     *     * @param   int $id number of message     * @return  null     * @throws  Zend_Mail_Storage_Exception     */    public function removeMessage($id)    {        if (!$this->_protocol->store(array(Zend_Mail_Storage::FLAG_DELETED), $id, null, '+')) {            /**             * @see Zend_Mail_Storage_Exception             */

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
91在线看国产| 国产乱对白刺激视频不卡| 国产精品理论在线观看| 国产丝袜美腿一区二区三区| www亚洲一区| 久久久久久久综合| 亚洲精品日韩综合观看成人91| 久久精品人人做人人综合| 日本一区二区三区国色天香| 国产精品私人影院| 有码一区二区三区| 亚洲国产一区二区三区 | 精品久久一二三区| 日韩一级成人av| 久久亚洲精精品中文字幕早川悠里| 久久久久久久久伊人| 国产精品美女久久福利网站| 亚洲男帅同性gay1069| 亚洲大片精品永久免费| 蜜臀va亚洲va欧美va天堂| 激情文学综合插| 99久久精品国产精品久久| 日本久久电影网| 欧美一区二区三区精品| 久久久国产综合精品女国产盗摄| 亚洲欧美综合网| 午夜欧美一区二区三区在线播放| 久久aⅴ国产欧美74aaa| 成人av电影在线| 欧美日韩1234| 欧美激情在线观看视频免费| 一区二区高清在线| 国产一区二区剧情av在线| 91女人视频在线观看| 日韩视频在线你懂得| 中文字幕制服丝袜一区二区三区 | 欧美日韩不卡视频| 精品国产成人系列| 一区二区久久久久| 国产精品自拍在线| 欧美日本韩国一区| 欧美激情在线免费观看| 日韩av电影免费观看高清完整版 | 日本一区二区三区四区| 亚洲成人一区在线| 成人性生交大片免费看中文 | 国产农村妇女毛片精品久久麻豆| 一区二区三区蜜桃| 高清国产一区二区| 日韩欧美国产精品一区| 一区二区三区av电影 | 夜夜嗨av一区二区三区| 国产一区二区h| 欧美一区二区在线不卡| 亚洲人成在线播放网站岛国| 国产一区在线观看麻豆| 7777精品久久久大香线蕉| 亚洲欧美韩国综合色| 丁香天五香天堂综合| 欧美一区二区二区| 日韩精品五月天| 日本高清不卡视频| 亚洲免费在线电影| 不卡影院免费观看| 中文字幕不卡在线观看| 韩国av一区二区三区在线观看| 91麻豆精品91久久久久久清纯 | 日韩欧美激情四射| 午夜精品aaa| 欧美理论片在线| 亚洲在线成人精品| 欧美三级中文字| 亚洲一区二区精品久久av| 日本精品一区二区三区四区的功能| 国产欧美日韩视频在线观看| 精品一区精品二区高清| 日韩免费观看高清完整版在线观看| 五月天激情综合网| 欧美日韩亚洲综合在线| 午夜精品123| 欧美日韩免费一区二区三区| 亚洲综合激情另类小说区| 日本韩国一区二区三区视频| 亚洲精品久久久蜜桃| 欧美在线影院一区二区| 午夜精品在线视频一区| 日韩欧美aaaaaa| 国产精品亚洲а∨天堂免在线| 国产女人aaa级久久久级| 成人爱爱电影网址| 亚洲天堂2016| 欧美美女bb生活片| 久久99久久精品| 国产午夜亚洲精品理论片色戒| 国产精品一区二区黑丝| 国产精品久久久久永久免费观看| av在线一区二区三区| 亚洲综合激情另类小说区| 欧美一区二区视频观看视频| 国产尤物一区二区在线 | zzijzzij亚洲日本少妇熟睡| 一区二区三区在线影院| 欧美一卡二卡三卡四卡| 国产精品1区2区3区在线观看| 国产精品理伦片| 欧美区在线观看| 极品美女销魂一区二区三区免费| 中文字幕高清一区| 欧美精品视频www在线观看| 久久精品久久综合| 国产精品不卡在线观看| 4438x亚洲最大成人网| 国产揄拍国内精品对白| 亚洲一二三级电影| 国产午夜精品一区二区| 欧美区视频在线观看| 国产成人精品在线看| 性欧美疯狂xxxxbbbb| 国产精品久久毛片a| 日韩一区二区三区av| 色偷偷88欧美精品久久久| 国产在线麻豆精品观看| 亚洲高清视频的网址| 国产精品福利一区二区| 精品国产免费久久| 91国在线观看| 成人午夜电影小说| 免费日韩伦理电影| 一区二区三国产精华液| 国产精品视频免费看| 欧美一区二区三区啪啪| 欧美在线短视频| 99国产精品国产精品毛片| 国产麻豆日韩欧美久久| 偷拍与自拍一区| 亚洲男人的天堂av| 中文字幕在线不卡视频| 2020国产精品久久精品美国| 91麻豆精品国产自产在线 | 国产精品一区二区三区四区| 日本网站在线观看一区二区三区| 亚洲欧美另类小说视频| 久久久久久久精| 精品国产免费一区二区三区四区 | 无码av中文一区二区三区桃花岛| 国产精品国产三级国产普通话三级| 日韩一区二区三区免费看| 欧美午夜精品一区| 欧美综合久久久| 在线观看欧美黄色| 欧美亚洲自拍偷拍| 色综合久久精品| 欧美在线一二三| 色久优优欧美色久优优| 欧美在线免费观看视频| 欧美在线视频全部完| 欧美日韩你懂得| 91精品蜜臀在线一区尤物| 91精品国产福利| 日韩欧美一级精品久久| 2021中文字幕一区亚洲| 久久久噜噜噜久久人人看| 国产日韩成人精品| 国产精品免费免费| 亚洲免费观看高清在线观看| 亚洲国产毛片aaaaa无费看 | 精品国产欧美一区二区| 久久噜噜亚洲综合| 国产欧美日韩精品a在线观看| 亚洲欧洲成人自拍| 亚洲一区二区三区三| 麻豆国产精品一区二区三区 | 欧美日韩精品综合在线| 欧美日韩中文精品| 精品久久久久久久人人人人传媒| 久久亚洲欧美国产精品乐播 | 欧美一级夜夜爽| 久久精品视频在线看| 亚洲美女免费视频| 日韩一区精品字幕| 丁香天五香天堂综合| 色偷偷88欧美精品久久久| 日韩区在线观看| 欧美国产1区2区| 日韩高清在线观看| 成人精品免费看| 欧美一区二区福利在线| 国产精品乱子久久久久| 日日摸夜夜添夜夜添精品视频 | 26uuu亚洲| 亚洲精品国产一区二区三区四区在线| 日本成人在线视频网站| 不卡视频在线看| 欧美一区二区高清| 伊人色综合久久天天人手人婷| 韩国av一区二区三区四区| 欧美日韩一区成人| 亚洲欧洲日韩一区二区三区| 精品在线视频一区| 欧美三级欧美一级|