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

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

?? class.phpmailer.php

?? asterisk用 的voip記費軟件
?? PHP
?? 第 1 頁 / 共 3 頁
字號:
        // Choose the mailer        if($this->Mailer == "sendmail")        {          if(!$this->sendmail_send($header, $body))              return false;        }        elseif($this->Mailer == "mail")        {          if(!$this->mail_send($header, $body))              return false;        }        elseif($this->Mailer == "smtp")        {		  $this -> nb_try=0;		  $this -> Recup_code_error = null;		  $hosts = explode(";", $this->Host);  		  		  $sendOKAY=false;		  while($this -> nb_try < count($hosts) && !$sendOKAY )	        {			  if ($this->Debug_Roll) echo "<br><br> ---> TRY : ".$this -> nb_try;	          if(!$this->smtp_send($header, $body)){				  if (($this -> Recup_code_error == "550") && ($this -> nb_try < count($hosts)) ){					  // Try again					  if ($this->Debug_Roll) echo "<br>	--->>> Try again ";				  }else{							  	  if ($this->Debug_Roll) echo "<br>	--->>> ERROR";	    			          return false;				  }			  }else{					//Envoie reussit -> SORTIR BOUCLE					$sendOKAY=true;					//return true it's the same			  }			  			}        }        else        {            $this->error_handler(sprintf("%s mailer is not supported", $this->Mailer));            return false;        }        return true;    }    /**     * Sends mail using the $Sendmail program.  Returns bool.     * @private     * @returns bool     */    function sendmail_send($header, $body) {        if ($this->Sender != "")            $sendmail = sprintf("%s -oi -f %s -t", $this->Sendmail, $this->Sender);        else            $sendmail = sprintf("%s -oi -t", $this->Sendmail);        if(!@$mail = popen($sendmail, "w"))        {            $this->error_handler(sprintf("Could not execute %s", $this->Sendmail));            return false;        }        fputs($mail, $header);        fputs($mail, $body);        pclose($mail);        return true;    }    /**     * Sends mail using the PHP mail() function.  Returns bool.     * @private     * @returns bool     */    function mail_send($header, $body) {        //$to = substr($this->addr_append("To", $this->to), 4, -2);        // Cannot add Bcc's to the $to        $to = $this->to[0][0]; // no extra comma        for($i = 1; $i < count($this->to); $i++)            $to .= sprintf(",%s", $this->to[$i][0]);        if ($this->Sender != "" && PHP_VERSION >= "4.0")        {            $old_from = ini_get("sendmail_from");            ini_set("sendmail_from", $this->Sender);        }        if ($this->Sender != "" && PHP_VERSION >= "4.0.5")        {            // The fifth parameter to mail is only available in PHP >= 4.0.5            $params = sprintf("-oi -f %s", $this->Sender);            $rt = @mail($to, $this->Subject, $body, $header, $params);        }        else        {            $rt = @mail($to, $this->Subject, $body, $header);        }        if (isset($old_from))            ini_set("sendmail_from", $old_from);        if(!$rt)        {            $this->error_handler("Could not instantiate mail()");            return false;        }        return true;    }    /**     * Sends mail via SMTP using PhpSMTP (Author:     * Chris Ryan).  Returns bool.  Returns false if there is a     * bad MAIL FROM, RCPT, or DATA input.     * @private     * @returns bool     */       function smtp_send($header, $body) {        // Include SMTP class code, but not twice		include_once("class.smtp.php"); // Load code only if asked        $smtp = new SMTP;        $smtp->do_debug = $this->SMTPDebug;		        // Try to connect to all SMTP servers        $hosts = explode(";", $this->Host);		//$this -> Curent_SMTP_Server = $this -> Curent_SMTP_Server + $this -> nb_try;		if ($this->Debug_Roll) echo "<br>Nombre de HOST :".count($hosts)."<br><br>";				if ($this->Debug_Roll) echo "<br>Curent_SMTP_Server : ".$this -> Curent_SMTP_Server;		$this -> Curent_SMTP_Server= ($this -> Curent_SMTP_Server + 1) % count($hosts);		if ($this->Debug_Roll) echo "<br><br>Curent_SMTP_Server : ".$this -> Curent_SMTP_Server."<br>";		if ($this->Debug_Roll) print_r ($hosts);		if (count($hosts)>1){			for ($i=0;$i<$this -> Curent_SMTP_Server;$i++){				$the_shift = array_shift($hosts);						array_push($hosts, $the_shift);			}		}				if ($this->Debug_Roll) echo "<br>";		if ($this->Debug_Roll) print_r ($hosts);		        $index = 0;        $connection = false;        $smtp_from = "";        $bad_rcpt = array();        $e = "";		        // Retry while there is no connection        while($this -> nb_try < count($hosts) && $connection == false)        {			$this -> nb_try++;			            if(strstr($hosts[$index], ":"))                list($host, $port) = explode(":", $hosts[$index]);            else            {                $host = $hosts[$index];                $port = $this->Port;            }			if ($this->Debug_Roll) echo "<br>  --> Host_USED: $host Port_USED: $port --->";            if($smtp->Connect($host, $port, $this->Timeout)){                $connection = true;				if ($this->Debug_Roll) echo "<br>OK<br>";			}else{				//printf("<br><b> %s </b> :: host could not connect<br>", $hosts[$index]); //debug only				if ($this->Debug_Roll) echo "<br>NO<br>";				$this -> Curent_SMTP_Server= $this -> Curent_SMTP_Server+1;			}			$index++;        }        if(!$connection)        {			//echo "SMTP Error: could not connect to SMTP host server(s) ::: $host";            $this->error_handler("SMTP Error: could not connect to SMTP host server(s)");            return false;        }        // Must perform HELO before authentication        $smtp->Hello($this->Helo);        // If user requests SMTP authentication        /*if($this->SMTPAuth)        {            if(!$smtp->Authenticate($this->Username, $this->Password))            {                $this->error_handler("SMTP Error: Could not authenticate");				//echo "<br>SMTP Error: Could not authenticate";                return false;            }        }*/        if ($this->Sender == "")            $smtp_from = $this->From;        else            $smtp_from = $this->Sender;        if(!$smtp->Mail(sprintf("<%s>", $smtp_from)))        {			            $e = sprintf("SMTP Error: From address [%s] failed", $smtp_from);            $this->error_handler($e);			//echo "<br>$e";            return false;        }        // Attempt to send attach all recipients        for($i = 0; $i < count($this->to); $i++)        {            if(!$smtp->Recipient(sprintf("<%s>", $this->to[$i][0]))){				if ($smtp -> code_error != 550){ //Relaying denied	                $bad_rcpt[] = $this->to[$i][0];				}else{					if ($this->Debug_Roll) echo "<br><br> Relaying denied !!!";					if ($this->Debug_Roll) echo "<br>  --> Host_USED: $host Port_USED: $port --->";					if ($this->Debug_Roll) echo "<br>Curent_SMTP_Server : ".$this -> Curent_SMTP_Server;					if ($this->Debug_Roll) echo "<br> NB TRY : ".$this -> nb_try."<br>";					if ($this->Debug_Roll) print_r ($hosts);					$this -> Recup_code_error = $smtp -> code_error;					return false;				}			}        }        for($i = 0; $i < count($this->cc); $i++)        {            if(!$smtp->Recipient(sprintf("<%s>", $this->cc[$i][0])))                $bad_rcpt[] = $this->cc[$i][0];        }        for($i = 0; $i < count($this->bcc); $i++)        {            if(!$smtp->Recipient(sprintf("<%s>", $this->bcc[$i][0])))                $bad_rcpt[] = $this->bcc[$i][0];        }        // Create error message        if(count($bad_rcpt) > 0)        {            for($i = 0; $i < count($bad_rcpt); $i++)            {                if($i != 0)                    $e .= ", ";                $e .= $bad_rcpt[$i];            }            $e = sprintf("SMTP Error: The following recipients failed [%s]", $e);            $this->error_handler($e);			//echo "<br>$e";			            return false;        }        if(!$smtp->Data(sprintf("%s%s", $header, $body)))        {            $this->error_handler("SMTP Error: Data not accepted");			//echo "<br>SMTP Error: Data not accepted";            return false;        }        $smtp->Quit();        return true;    }    /////////////////////////////////////////////////    // MESSAGE CREATION METHODS    /////////////////////////////////////////////////    /**     * Creates recipient headers.  Returns string.     * @private     * @returns string     */    function addr_append($type, $addr) {        $addr_str = "";        $addr_str .= sprintf("%s: \"%s\" <%s>", $type, addslashes($addr[0][1]), $addr[0][0]);        if(count($addr) > 1)        {            for($i = 1; $i < count($addr); $i++)            {                $addr_str .= sprintf(", \"%s\" <%s>", addslashes($addr[$i][1]), $addr[$i][0]);            }            $addr_str .= "\r\n";        }        else            $addr_str .= "\r\n";        return($addr_str);    }    /**     * Wraps message for use with mailers that do not     * automatically perform wrapping and for quoted-printable.     * Original written by philippe.  Returns string.     * @private     * @returns string     */    function wordwrap($message, $length, $qp_mode = false) {        if ($qp_mode)        $soft_break = " =\r\n";        else        $soft_break = "\r\n";        $message = $this->fix_eol($message);        if (substr($message, -1) == "\r\n")        $message = substr($message, 0, -1);        $line = explode("\r\n", $message);        $message = "";        for ($i=0 ;$i < count($line); $i++)        {          $line_part = explode(" ", $line[$i]);          $buf = "";          for ($e = 0; $e<count($line_part); $e++)          {              $word = $line_part[$e];              if ($qp_mode and (strlen($word) > $length))              {                $space_left = $length - strlen($buf) - 1;                if ($e != 0)                {                    if ($space_left > 20)                    {                        $len = $space_left;                        if (substr($word, $len - 1, 1) == "=")                          $len--;                        elseif (substr($word, $len - 2, 1) == "=")                          $len -= 2;                        $part = substr($word, 0, $len);                        $word = substr($word, $len);                        $buf .= " " . $part;                        $message .= $buf . "=\r\n";                    }                    else                    {                        $message .= $buf . $soft_break;                    }                    $buf = "";                }                while (strlen($word) > 0)                {                    $len = $length;                    if (substr($word, $len - 1, 1) == "=")                        $len--;                    elseif (substr($word, $len - 2, 1) == "=")                        $len -= 2;                    $part = substr($word, 0, $len);                    $word = substr($word, $len);                    if (strlen($word) > 0)                        $message .= $part . "=\r\n";                    else                        $buf = $part;                }              }              else              {                $buf_o = $buf;                if ($e == 0)                    $buf .= $word;                else                    $buf .= " " . $word;                if (strlen($buf) > $length and $buf_o != "")                {                    $message .= $buf_o . $soft_break;                    $buf = $word;                }              }          }          $message .= $buf . "\r\n";        }        return ($message);    }    /**     * Assembles message header.  Returns a string if successful     * or false if unsuccessful.     * @private     * @returns string     */    function create_header() {        $header = array();        $header[] = $this->received();        $header[] = sprintf("Date: %s\r\n", $this->rfc_date());        // To be created automatically by mail()        if($this->Mailer != "mail")            $header[] = $this->addr_append("To", $this->to);        $header[] = sprintf("From: \"%s\" <%s>\r\n", addslashes($this->FromName), trim($this->From));        if(count($this->cc) > 0)            $header[] = $this->addr_append("Cc", $this->cc);        // sendmail and mail() extract Bcc from the header before sending        if((($this->Mailer == "sendmail") || ($this->Mailer == "mail")) && (count($this->bcc) > 0))            $header[] = $this->addr_append("Bcc", $this->bcc);        if(count($this->ReplyTo) > 0)            $header[] = $this->addr_append("Reply-to", $this->ReplyTo);        		// mail() sets the subject itself        if($this->Mailer != "mail"){					if ($this->Subject_CharSet){						//Subject: =?shift_jis?B?k5aO0ILMg0WDRoN1g32DWINegVuDdoONg0+DiYOAgsmOUYKpgrWCxIm6?=					//	=?shift_jis?B?grOCog==?=					//Subject: =?iso-2022-jp?B?IBskQjxMPz8hKiEqISobKEI=?=					//Subject: =?shift_jis?B?k5aO0ILMg0WDRoN1g32DWINegVuDdoONg0+DiYOAgsmOUYKpgrWCxIm6?=					//=?shift_jis?B?grOCog==?=					//Subject: =?shift_jis?B?g2qDhYFbg1iDjINegVuC8JGXkE2CtYK9gqI					$header[] = sprintf("Subject: =?%s?B?%s=?=\r\n",trim($this->CharSet), trim($this->Subject));						}else{					$header[] = sprintf("Subject: %s\r\n", trim($this->Subject));						}		}        $header[] = sprintf("X-Priority: %d\r\n", $this->Priority);        $header[] = sprintf("X-Mailer: Mailing-List System [Version %s]\r\n", $this->Version);        //$header[] = sprintf("Return-Path: %s\r\n", trim($this->From));		$header[] = sprintf("Return-Path: %s\r\n", $this -> Sender);		//print_r ($header);        // Add custom headers        for($index = 0; $index < count($this->CustomHeader); $index++)            $header[] = sprintf("%s\r\n", $this->CustomHeader[$index]);        if($this->UseMSMailHeaders)            $header[] = $this->AddMSMailHeaders();        $header[] = "MIME-Version: 1.0\r\n";        // Add all attachments        if(count($this->attachment) > 0 || !empty($this->AltBody))        {            // Set message boundary            $this->boundary = "_b" . md5(uniqid(time()));            // Set message subboundary for multipart/alternative            $this->subboundary = "_sb" . md5(uniqid(time()));            $header[] = "Content-Type: Multipart/Mixed;\r\n";            $header[] = sprintf("\tboundary=\"Boundary-=%s\"\r\n\r\n", $this->boundary);        }

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
99精品国产99久久久久久白柏| 精品视频123区在线观看| 波多野结衣精品在线| 91精品福利视频| 2021中文字幕一区亚洲| 亚洲一区二区在线观看视频| 国产在线精品一区二区不卡了| 91丨porny丨首页| 欧美一级黄色片| 一区二区三区毛片| 国产凹凸在线观看一区二区| 欧美肥胖老妇做爰| 亚洲丝袜制服诱惑| 国产高清不卡一区| 精品成a人在线观看| 樱花影视一区二区| 成人免费精品视频| 国产情人综合久久777777| 奇米一区二区三区av| 欧美视频一区二区| 一区二区视频在线看| 成人午夜精品一区二区三区| 久久亚洲欧美国产精品乐播| 日韩vs国产vs欧美| 在线综合亚洲欧美在线视频| 亚洲一区二区3| 色av综合在线| 亚洲精品视频免费观看| 99国产精品国产精品久久| 久久久亚洲精品石原莉奈 | 在线电影国产精品| 亚洲精品精品亚洲| 色综合激情久久| 一区二区三区中文在线| 色久综合一二码| 亚洲一区二区三区四区中文字幕| 91视频com| 亚洲精品乱码久久久久久久久| 波多野结衣在线一区| 国产精品久久久久aaaa樱花| 成人免费视频视频| 亚洲人成电影网站色mp4| 99国产精品久久久久久久久久| **性色生活片久久毛片| 日本道色综合久久| 天堂资源在线中文精品| 欧美一区二区三区公司| 久久成人免费电影| 国产欧美精品一区二区三区四区 | 欧美一区二区三区不卡| 午夜影视日本亚洲欧洲精品| 欧美久久久久久蜜桃| 老司机精品视频导航| 久久精品网站免费观看| 9久草视频在线视频精品| 一区二区在线观看免费视频播放| 欧美三区在线观看| 黄色资源网久久资源365| 国产精品妹子av| 在线欧美日韩精品| 视频一区二区三区入口| 久久久久久久久99精品| 波多野结衣在线一区| 亚洲成av人片一区二区| 欧美xxxx老人做受| av一区二区三区四区| 肉肉av福利一精品导航| 欧美激情资源网| 欧美绝品在线观看成人午夜影视| 精品中文字幕一区二区小辣椒| 中文子幕无线码一区tr| 欧美三级韩国三级日本一级| 国产一区二区福利视频| 亚洲自拍欧美精品| 欧美精品一区二区三区在线| 91在线看国产| 乱中年女人伦av一区二区| 国产精品久久久久久久午夜片| 欧美日本韩国一区二区三区视频| 国产精品一区二区三区99| 亚洲激情第一区| 久久这里只精品最新地址| 在线免费观看日本欧美| 国产一区二区主播在线| 视频一区欧美日韩| 日韩理论在线观看| 久久久久久麻豆| 欧美色偷偷大香| 不卡的av网站| 国产精品99久久久久久久vr | 亚洲精品成人a在线观看| 337p日本欧洲亚洲大胆色噜噜| 日本高清无吗v一区| 丁香婷婷综合网| 久久不见久久见免费视频1| 亚洲第一会所有码转帖| 最好看的中文字幕久久| 久久一留热品黄| 欧美一三区三区四区免费在线看| 色综合久久久久综合体桃花网| 国产在线不卡一区| 久久精品国产99| 麻豆精品一区二区av白丝在线| 亚洲国产成人va在线观看天堂| 1区2区3区国产精品| 国产欧美日本一区视频| 精品粉嫩aⅴ一区二区三区四区| 在线成人午夜影院| 欧美色综合久久| 色94色欧美sute亚洲13| 99国产精品久| 色综合久久88色综合天天6| av中文字幕在线不卡| 国产自产视频一区二区三区| 激情文学综合丁香| 国产一区二区三区免费在线观看| 免费不卡在线观看| 麻豆成人综合网| 欧美aaa在线| 日本免费新一区视频| 日韩av电影天堂| 日韩福利视频导航| 开心九九激情九九欧美日韩精美视频电影| 五月婷婷综合在线| 蜜桃久久精品一区二区| 激情综合一区二区三区| 国产一区二区三区免费在线观看| 国产a区久久久| av资源网一区| 欧美三级蜜桃2在线观看| 在线成人高清不卡| 日韩精品一区国产麻豆| 久久久综合激的五月天| 国产女同互慰高潮91漫画| 国产精品久久午夜夜伦鲁鲁| 亚洲免费观看在线视频| 性做久久久久久免费观看欧美| 丝袜诱惑制服诱惑色一区在线观看| 日韩精品亚洲一区| 国产一区二区三区在线观看免费| 东方欧美亚洲色图在线| 色狠狠一区二区| 制服丝袜在线91| 国产色爱av资源综合区| 亚洲欧美韩国综合色| 日韩一区精品视频| 国产麻豆精品久久一二三| 91免费国产在线| 制服丝袜亚洲播放| 国产视频视频一区| 午夜久久久影院| 东方欧美亚洲色图在线| 欧美日韩在线播放| 久久久久久久久久美女| 亚洲黄色录像片| 蜜臀av性久久久久蜜臀aⅴ| 99视频超级精品| 日韩一级大片在线| 一区二区三区在线观看国产| 蜜臀av性久久久久蜜臀aⅴ| 99久久精品情趣| 精品久久久久久久久久久久久久久久久| 国产精品久久久久9999吃药| 日韩在线观看一区二区| 成人开心网精品视频| 日韩视频一区在线观看| 自拍偷拍欧美激情| 久久国产尿小便嘘嘘尿| 色婷婷久久久综合中文字幕 | 美女一区二区视频| 9人人澡人人爽人人精品| 欧美tickle裸体挠脚心vk| 亚洲精品乱码久久久久久久久 | 亚洲国产成人va在线观看天堂| 国产精品一区在线观看乱码| 欧美日韩免费电影| 国产精品国产三级国产普通话99 | 欧美美女一区二区三区| 中文一区二区完整视频在线观看| 视频一区二区中文字幕| 91在线高清观看| 久久久久国产成人精品亚洲午夜| 视频一区二区三区入口| 欧美亚洲国产一区在线观看网站| 欧美极品xxx| 国产一区二区三区在线观看精品| 337p亚洲精品色噜噜噜| 亚洲第一激情av| 欧美性感一区二区三区| 亚洲欧美国产三级| 91丨porny丨首页| 中文字幕日韩欧美一区二区三区| 久久er精品视频| 日韩欧美一区二区久久婷婷| 日韩综合小视频| 在线观看成人小视频| 亚洲夂夂婷婷色拍ww47| 91色porny在线视频| 国产精品久久免费看| 成人永久aaa|