亚洲欧美第一页_禁久久精品乱码_粉嫩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一区二区三区免费野_久草精品视频
国产欧美精品一区二区色综合朱莉| 欧美另类z0zxhd电影| 亚洲国产一区二区在线播放| 国产欧美日韩麻豆91| 久久久久国产成人精品亚洲午夜| 欧美亚洲一区三区| 欧美日本一道本| 日韩美一区二区三区| 欧美精品一区二区三区四区| 精品久久国产97色综合| 国产亚洲污的网站| 国产精品麻豆网站| 亚洲h动漫在线| 成人av网站在线| 91丨porny丨户外露出| 在线成人av网站| 日韩精品一区二区三区在线观看| 欧美高清在线视频| 一区二区三区四区蜜桃| 国产麻豆精品一区二区| 欧美三级欧美一级| 欧美精品在线一区二区| 国产精品福利在线播放| 一区二区三区电影在线播| 韩国v欧美v日本v亚洲v| 欧美日韩黄色一区二区| 久久久美女毛片| 秋霞国产午夜精品免费视频| 91欧美一区二区| 国产亚洲精品免费| 麻豆精品视频在线| 精品精品欲导航| 男男视频亚洲欧美| 日韩一区二区在线观看视频播放| 18成人在线观看| 91麻豆精品国产91久久久更新时间| 一区二区三区欧美| 日韩欧美国产综合一区| 成人综合激情网| 亚洲国产精品一区二区久久| 日韩网站在线看片你懂的| 国产成人免费视频网站| 亚洲国产精品久久久男人的天堂| 日韩欧美激情在线| 91福利精品视频| 日韩二区三区四区| 亚洲欧美激情插 | 91美女视频网站| 奇米色一区二区三区四区| 国产精品麻豆一区二区| 日韩一区二区免费在线观看| 91免费视频大全| 国产美女一区二区三区| 亚洲高清免费一级二级三级| 国产精品免费aⅴ片在线观看| 欧美羞羞免费网站| av福利精品导航| 高清国产一区二区| 国产精品综合视频| 韩国女主播一区二区三区| 无码av免费一区二区三区试看 | 成人av在线网站| 欧美a一区二区| 婷婷六月综合亚洲| 亚洲成人av中文| 亚洲高清免费观看| 亚洲成人自拍偷拍| 一区二区三区在线不卡| 亚洲免费成人av| 日韩av电影免费观看高清完整版在线观看| 综合久久久久久| 中文字幕亚洲在| 亚洲一区二区成人在线观看| 亚洲在线成人精品| 全部av―极品视觉盛宴亚洲| 久久精工是国产品牌吗| 国产一区视频网站| 色噜噜久久综合| 久久亚洲综合色| 久久久久九九视频| 一区二区三区在线观看欧美| 亚洲3atv精品一区二区三区| 激情丁香综合五月| 99v久久综合狠狠综合久久| 欧美日韩视频不卡| 国产精品欧美久久久久无广告| 亚洲二区在线观看| 国产98色在线|日韩| 精品视频1区2区3区| 国产色一区二区| 日本午夜精品视频在线观看| 91视视频在线观看入口直接观看www | 亚洲一区二区在线观看视频| 国产精品影视在线观看| 91麻豆精品国产自产在线观看一区 | 亚洲最新视频在线播放| 成人免费三级在线| 欧美电影免费观看完整版| 午夜精品福利一区二区蜜股av| 国产成人啪午夜精品网站男同| 日韩欧美一级片| 日韩精品一二三区| 9191精品国产综合久久久久久 | 欧美精品日日鲁夜夜添| 亚洲综合成人在线| 色老综合老女人久久久| 亚洲欧洲av色图| 日本道色综合久久| 亚洲国产中文字幕在线视频综合| 粉嫩aⅴ一区二区三区四区五区| 久久影院电视剧免费观看| 激情五月婷婷综合| 国产精品久99| 色噜噜狠狠色综合欧洲selulu| 亚洲欧美日韩系列| 日本电影欧美片| 亚洲一区二区视频| 日韩一区二区不卡| 成人av在线一区二区| 亚洲一区电影777| 欧美v日韩v国产v| 91在线视频播放地址| 美女一区二区三区在线观看| 精品国产凹凸成av人导航| 色噜噜狠狠色综合欧洲selulu| 亚洲二区在线观看| 中文字幕亚洲在| 欧美草草影院在线视频| 色88888久久久久久影院按摩| 麻豆精品在线播放| 偷拍一区二区三区四区| 26uuu国产在线精品一区二区| 波多野结衣中文一区| 日本不卡免费在线视频| 亚洲国产精品视频| 国产精品久久久久久久蜜臀| 精品国产乱码久久久久久免费| 91成人在线观看喷潮| 色综合一个色综合| 91麻豆精品秘密| av一区二区三区在线| 国产黄色91视频| 成人黄色大片在线观看| 激情图区综合网| 国产成人一区在线| 国产精品99久| 不卡视频在线看| 色婷婷综合久色| 91福利区一区二区三区| 欧美午夜精品免费| 精品日韩在线一区| 欧美成人一区二区三区| 精品福利一二区| 亚洲色图在线看| 亚洲 欧美综合在线网络| 免费一区二区视频| 国产精品中文有码| 欧美色综合久久| 久久久国际精品| 亚洲精品日韩综合观看成人91| 亚洲国产wwwccc36天堂| 久草精品在线观看| 色欧美片视频在线观看在线视频| 欧美日韩亚州综合| 国产女主播视频一区二区| 亚洲va欧美va人人爽| 国产乱妇无码大片在线观看| 欧美中文字幕不卡| 国产精品二区一区二区aⅴ污介绍| 亚洲综合色成人| 色综合天天综合网国产成人综合天 | 欧美在线视频日韩| 日本一区二区三区dvd视频在线| 日韩av中文字幕一区二区三区| 国产大陆亚洲精品国产| 日韩欧美的一区| 亚欧色一区w666天堂| 在线一区二区观看| 亚洲人精品一区| 色综合天天综合色综合av| 日本一区二区三区国色天香 | 国产精品久久久久久福利一牛影视| 亚洲国产成人精品视频| 色婷婷综合久久久久中文| 久久品道一品道久久精品| 久久99精品国产麻豆不卡| 欧美精品在线观看播放| 亚洲国产精品久久人人爱| 欧美日韩黄色影视| 精品一区二区三区免费| 精品少妇一区二区三区| 韩国欧美一区二区| 国产欧美精品一区二区三区四区| 另类综合日韩欧美亚洲| 精品福利一区二区三区免费视频| 国产精品综合久久| 国产精品久久久久久久久久免费看| 99热在这里有精品免费| 亚洲欧美日韩久久精品| 欧美成人午夜电影|