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

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

?? smtp.php

?? This is the script which used on 10minutemail.com for temporary email.
?? PHP
字號:
<?php//// +----------------------------------------------------------------------+// | PHP Version 4                                                        |// +----------------------------------------------------------------------+// | Copyright (c) 1997-2003 The PHP Group                                |// +----------------------------------------------------------------------+// | This source file is subject to version 2.02 of the PHP license,      |// | that is bundled with this package in the file LICENSE, and is        |// | available at through the world-wide-web at                           |// | http://www.php.net/license/2_02.txt.                                 |// | If you did not receive a copy of the PHP license and are unable to   |// | obtain it through the world-wide-web, please send a note to          |// | license@php.net so we can mail you a copy immediately.               |// +----------------------------------------------------------------------+// | Authors: Chuck Hagenbuch <chuck@horde.org>                           |// |          Jon Parise <jon@php.net>                                    |// +----------------------------------------------------------------------+/** Error: Failed to create a Net_SMTP object */define('PEAR_MAIL_SMTP_ERROR_CREATE', 10000);/** Error: Failed to connect to SMTP server */define('PEAR_MAIL_SMTP_ERROR_CONNECT', 10001);/** Error: SMTP authentication failure */define('PEAR_MAIL_SMTP_ERROR_AUTH', 10002);/** Error: No From: address has been provided */define('PEAR_MAIL_SMTP_ERROR_FROM', 10003);/** Error: Failed to set sender */define('PEAR_MAIL_SMTP_ERROR_SENDER', 10004);/** Error: Failed to add recipient */define('PEAR_MAIL_SMTP_ERROR_RECIPIENT', 10005);/** Error: Failed to send data */define('PEAR_MAIL_SMTP_ERROR_DATA', 10006);/** * SMTP implementation of the PEAR Mail interface. Requires the Net_SMTP class. * @access public * @package Mail * @version $Revision: 1.28 $ */class Mail_smtp extends Mail {    /**     * SMTP connection object.     *     * @var object     * @access private     */    var $_smtp = null;    /**     * The SMTP host to connect to.     * @var string     */    var $host = 'localhost';    /**     * The port the SMTP server is on.     * @var integer     */    var $port = 25;    /**     * Should SMTP authentication be used?     *     * This value may be set to true, false or the name of a specific     * authentication method.     *     * If the value is set to true, the Net_SMTP package will attempt to use     * the best authentication method advertised by the remote SMTP server.     *     * @var mixed     */    var $auth = false;    /**     * The username to use if the SMTP server requires authentication.     * @var string     */    var $username = '';    /**     * The password to use if the SMTP server requires authentication.     * @var string     */    var $password = '';    /**     * Hostname or domain that will be sent to the remote SMTP server in the     * HELO / EHLO message.     *     * @var string     */    var $localhost = 'localhost';    /**     * SMTP connection timeout value.  NULL indicates no timeout.     *     * @var integer     */    var $timeout = null;    /**     * Whether to use VERP or not. If not a boolean, the string value     * will be used as the VERP separators.     *     * @var mixed boolean or string     */    var $verp = false;    /**     * Turn on Net_SMTP debugging?     *     * @var boolean $debug     */    var $debug = false;    /**     * Indicates whether or not the SMTP connection should persist over     * multiple calls to the send() method.     *     * @var boolean     */    var $persist = false;    /**     * Constructor.     *     * Instantiates a new Mail_smtp:: object based on the parameters     * passed in. It looks for the following parameters:     *     host        The server to connect to. Defaults to localhost.     *     port        The port to connect to. Defaults to 25.     *     auth        SMTP authentication.  Defaults to none.     *     username    The username to use for SMTP auth. No default.     *     password    The password to use for SMTP auth. No default.     *     localhost   The local hostname / domain. Defaults to localhost.     *     timeout     The SMTP connection timeout. Defaults to none.     *     verp        Whether to use VERP or not. Defaults to false.     *     debug       Activate SMTP debug mode? Defaults to false.     *     persist     Should the SMTP connection persist?     *     * If a parameter is present in the $params array, it replaces the     * default.     *     * @param array Hash containing any parameters different from the     *              defaults.     * @access public     */    function Mail_smtp($params)    {        if (isset($params['host'])) $this->host = $params['host'];        if (isset($params['port'])) $this->port = $params['port'];        if (isset($params['auth'])) $this->auth = $params['auth'];        if (isset($params['username'])) $this->username = $params['username'];        if (isset($params['password'])) $this->password = $params['password'];        if (isset($params['localhost'])) $this->localhost = $params['localhost'];        if (isset($params['timeout'])) $this->timeout = $params['timeout'];        if (isset($params['verp'])) $this->verp = $params['verp'];        if (isset($params['debug'])) $this->debug = (boolean)$params['debug'];        if (isset($params['persist'])) $this->persist = (boolean)$params['persist'];        register_shutdown_function(array(&$this, '_Mail_smtp'));    }    /**     * Destructor implementation to ensure that we disconnect from any     * potentially-alive persistent SMTP connections.     */    function _Mail_smtp()    {        $this->disconnect();    }    /**     * Implements Mail::send() function using SMTP.     *     * @param mixed $recipients Either a comma-seperated list of recipients     *              (RFC822 compliant), or an array of recipients,     *              each RFC822 valid. This may contain recipients not     *              specified in the headers, for Bcc:, resending     *              messages, etc.     *     * @param array $headers The array of headers to send with the mail, in an     *              associative array, where the array key is the     *              header name (e.g., 'Subject'), and the array value     *              is the header value (e.g., 'test'). The header     *              produced from those values would be 'Subject:     *              test'.     *     * @param string $body The full text of the message body, including any     *               Mime parts, etc.     *     * @return mixed Returns true on success, or a PEAR_Error     *               containing a descriptive error message on     *               failure.     * @access public     */    function send($recipients, $headers, $body)    {        include_once 'Net/SMTP.php';        /* If we don't already have an SMTP object, create one. */        if (is_object($this->_smtp) === false) {            $this->_smtp =& new Net_SMTP($this->host, $this->port,                                         $this->localhost);            /* If we still don't have an SMTP object at this point, fail. */            if (is_object($this->_smtp) === false) {                return PEAR::raiseError('Failed to create a Net_SMTP object',                                        PEAR_MAIL_SMTP_ERROR_CREATE);            }            /* Configure the SMTP connection. */            if ($this->debug) {                $this->_smtp->setDebug(true);            }            /* Attempt to connect to the configured SMTP server. */            if (PEAR::isError($res = $this->_smtp->connect($this->timeout))) {                $error = $this->_error('Failed to connect to ' .                                       $this->host . ':' . $this->port,                                       $res);                return PEAR::raiseError($error, PEAR_MAIL_SMTP_ERROR_CONNECT);            }            /* Attempt to authenticate if authentication has been enabled. */            if ($this->auth) {                $method = is_string($this->auth) ? $this->auth : '';                if (PEAR::isError($res = $this->_smtp->auth($this->username,                                                            $this->password,                                                            $method))) {                    $error = $this->_error("$method authentication failure",                                           $res);                    $this->_smtp->rset();                    return PEAR::raiseError($error, PEAR_MAIL_SMTP_ERROR_AUTH);                }            }        }        $this->_sanitizeHeaders($headers);        $headerElements = $this->prepareHeaders($headers);        if (PEAR::isError($headerElements)) {            $this->_smtp->rset();            return $headerElements;        }        list($from, $textHeaders) = $headerElements;        /* Since few MTAs are going to allow this header to be forged         * unless it's in the MAIL FROM: exchange, we'll use         * Return-Path instead of From: if it's set. */        if (!empty($headers['Return-Path'])) {            $from = $headers['Return-Path'];        }        if (!isset($from)) {            $this->_smtp->rset();            return PEAR::raiseError('No From: address has been provided',                                    PEAR_MAIL_SMTP_ERROR_FROM);        }        $args['verp'] = $this->verp;        if (PEAR::isError($res = $this->_smtp->mailFrom($from, $args))) {            $error = $this->_error("Failed to set sender: $from", $res);            $this->_smtp->rset();            return PEAR::raiseError($error, PEAR_MAIL_SMTP_ERROR_SENDER);        }        $recipients = $this->parseRecipients($recipients);        if (PEAR::isError($recipients)) {            $this->_smtp->rset();            return $recipients;        }        foreach ($recipients as $recipient) {            if (PEAR::isError($res = $this->_smtp->rcptTo($recipient))) {                $error = $this->_error("Failed to add recipient: $recipient",                                       $res);                $this->_smtp->rset();                return PEAR::raiseError($error, PEAR_MAIL_SMTP_ERROR_RECIPIENT);            }        }        /* Send the message's headers and the body as SMTP data. */        if (PEAR::isError($res = $this->_smtp->data($textHeaders . "\r\n\r\n" . $body))) {            $error = $this->_error('Failed to send data', $res);            $this->_smtp->rset();            return PEAR::raiseError($error, PEAR_MAIL_SMTP_ERROR_DATA);        }        /* If persistent connections are disabled, destroy our SMTP object. */        if ($this->persist === false) {            $this->disconnect();        }        return true;    }    /**     * Disconnect and destroy the current SMTP connection.     *     * @return boolean True if the SMTP connection no longer exists.     *     * @since  1.1.9     * @access public     */    function disconnect()    {        /* If we have an SMTP object, disconnect and destroy it. */        if (is_object($this->_smtp) && $this->_smtp->disconnect()) {            $this->_smtp = null;        }        /* We are disconnected if we no longer have an SMTP object. */        return ($this->_smtp === null);    }    /**     * Build a standardized string describing the current SMTP error.     *     * @param string $text  Custom string describing the error context.     * @param object $error Reference to the current PEAR_Error object.     *     * @return string       A string describing the current SMTP error.     *     * @since  1.1.7     * @access private     */    function _error($text, &$error)    {        /* Split the SMTP response into a code and a response string. */        list($code, $response) = $this->_smtp->getResponse();        /* Build our standardized error string. */        $msg = $text;        $msg .= ' [SMTP: ' . $error->getMessage();        $msg .= " (code: $code, response: $response)]";        return $msg;    }}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日本中文字幕不卡| 亚洲免费观看高清完整版在线观看熊 | 亚洲第一激情av| 69堂亚洲精品首页| 国产精品一区二区免费不卡| xvideos.蜜桃一区二区| 欧美影院精品一区| 加勒比av一区二区| 亚洲欧美福利一区二区| 欧美日韩国产不卡| 国产另类ts人妖一区二区| 夜夜嗨av一区二区三区网页| 日韩一区二区中文字幕| 91福利精品视频| 亚洲成人一区二区在线观看| 国产无人区一区二区三区| 不卡视频在线观看| 免费观看在线综合色| 国产日韩精品一区二区三区在线| 成人av动漫网站| 亚洲妇熟xx妇色黄| 国产精品久久99| 精品久久人人做人人爽| 欧日韩精品视频| 国产成人激情av| 日本怡春院一区二区| 亚洲乱码精品一二三四区日韩在线| 日韩精品一区二区三区视频| 成人aa视频在线观看| 免费的国产精品| 亚洲综合免费观看高清完整版 | 成人自拍视频在线| 日本欧洲一区二区| 一区二区视频在线看| 欧美日韩激情在线| 91热门视频在线观看| 国产麻豆一精品一av一免费| 日韩高清不卡一区二区| 一区二区欧美国产| 国产精品色眯眯| 久久久久久9999| 日韩女优av电影在线观看| 日韩午夜激情电影| 欧美日韩在线播放三区| 91在线国内视频| 成人精品国产一区二区4080| 男女男精品视频| 秋霞影院一区二区| 日韩和欧美的一区| 精品中文av资源站在线观看| 日一区二区三区| 亚洲国产日韩综合久久精品| 日韩毛片在线免费观看| 中文字幕日本不卡| 国产精品区一区二区三区| 久久免费电影网| 国产欧美日韩另类视频免费观看| 精品福利二区三区| 欧美一区日本一区韩国一区| 色综合婷婷久久| 91麻豆swag| 在线日韩一区二区| 欧美视频在线一区二区三区 | 欧美视频在线不卡| 99久久99久久综合| 欧美日韩一级视频| 欧美一区二区精品| 日韩精品一区在线观看| 精品精品国产高清一毛片一天堂| 精品国内二区三区| 久久久久97国产精华液好用吗| 精品欧美久久久| 91精品国产日韩91久久久久久| 欧美日韩免费高清一区色橹橹| 欧美视频日韩视频在线观看| 欧美一级日韩一级| 久久欧美中文字幕| 亚洲欧洲www| 亚洲一区二区三区小说| 夜夜夜精品看看| 日韩电影在线观看电影| 蜜桃久久av一区| 高清成人在线观看| 日本福利一区二区| 在线观看免费成人| 欧美精品丝袜中出| 日韩精品一区二区三区中文精品 | 亚洲免费观看高清完整版在线观看熊| 一区二区三区在线观看视频| 婷婷中文字幕综合| 精品一二三四区| 成人黄色在线视频| 欧美三级日韩在线| 国产精品系列在线| 天堂一区二区在线| 久88久久88久久久| 成人美女在线视频| 欧美日韩久久不卡| 国产欧美综合在线观看第十页| 亚洲精品你懂的| 国产高清久久久久| 欧美视频一区在线| 欧美一区二区久久久| 国产精品久久国产精麻豆99网站| 天天做天天摸天天爽国产一区 | 日本一不卡视频| 国产不卡视频在线观看| 欧美日韩在线综合| 久久久蜜桃精品| 亚洲国产日韩a在线播放性色| 国内精品免费在线观看| 色av一区二区| 国产精品福利一区| 免费成人av在线播放| 91蜜桃传媒精品久久久一区二区| 欧美日韩一区二区三区在线 | 午夜影院久久久| 成人免费高清视频| 日韩一级片网站| 国产精品美女久久久久aⅴ国产馆| 亚洲欧美aⅴ...| 国产麻豆精品久久一二三| 欧美日韩国产a| 亚洲电影在线免费观看| 成人美女在线观看| 精品捆绑美女sm三区| 亚洲同性gay激情无套| 美女网站在线免费欧美精品| 精品一区二区国语对白| 欧美在线视频全部完| 一区二区三区中文在线| 大尺度一区二区| 国产精品网曝门| 国产精品资源网| 国产日本欧洲亚洲| 精品一二三四区| 久久久国产午夜精品| 老鸭窝一区二区久久精品| 91传媒视频在线播放| 最新日韩av在线| 国产在线麻豆精品观看| 久久精品一级爱片| 久久精品国产澳门| 欧美精品一区二区三区在线播放| 日韩成人伦理电影在线观看| 欧美精品一级二级三级| 日韩一区欧美二区| 日韩无一区二区| 人人超碰91尤物精品国产| 日韩免费高清电影| 人人爽香蕉精品| 久久中文字幕电影| 国产在线看一区| 精品国产1区2区3区| 久久成人综合网| 在线91免费看| 国内偷窥港台综合视频在线播放| 日韩精品专区在线| 丁香另类激情小说| 一区精品在线播放| 欧美午夜电影网| 日韩成人伦理电影在线观看| 久久只精品国产| 国产不卡视频在线播放| 亚洲精品国产品国语在线app| 色94色欧美sute亚洲线路一ni| 五月天久久比比资源色| 日韩欧美成人一区| 国产成人久久精品77777最新版本| 欧美韩国日本一区| 91网站最新地址| 天天色天天爱天天射综合| 91高清视频在线| 蜜桃视频一区二区三区| 日韩欧美一区中文| www..com久久爱| 一区二区成人在线观看| 91精品蜜臀在线一区尤物| 国产一区二区在线影院| 国产精品对白交换视频 | 99久久久国产精品| 亚洲精品亚洲人成人网在线播放| 欧美日韩精品是欧美日韩精品| 亚洲成人在线观看视频| 欧美成人高清电影在线| 99久久99久久综合| 日韩黄色片在线观看| 国产亚洲综合色| 一本色道久久综合亚洲91| 日本不卡一区二区| 欧美绝品在线观看成人午夜影视| 国产麻豆精品theporn| 国产精品久久看| 精品国产一区二区亚洲人成毛片| 成年人午夜久久久| 极品少妇一区二区三区精品视频 | 国产欧美综合色| 7777精品伊人久久久大香线蕉超级流畅 | 99久久精品一区| 奇米精品一区二区三区在线观看一|