首頁  >  文章  >  後端開發  >  用Socket发送电子邮件八_PHP教程

用Socket发送电子邮件八_PHP教程

WBOY
WBOY原創
2016-07-13 17:28:101159瀏覽

61 //加上结束串
62 if(!ereg(" . ", $message))
63 $message .= " . ";
64 $this-$#@62;show_debug($message, "out");
65 fputs($this-$#@62;fp, $message);
66
67 $this-$#@62;lastact="QUIT ";
68 if(!$this-$#@62;do_command($this-$#@62;lastact, "250"))
69 {
70 fclose($this-$#@62;fp);
71 return false;
72 }
73 }
74 return true;
75 }
76 else
77 {
78 $this-$#@62;show_debug("Connect failed!", "in");
79 return false;
80 }
81 }
  有些意思很清楚的我就不说了。

www.bkjia.comtruehttp://www.bkjia.com/PHPjc/531805.htmlTechArticle61 //加上结束串 62 if(!ereg(".", $message)) 63 $message .= "."; 64 $this-$#@62;show_debug($message, "out"); 65 fputs($this-$#@62;fp, $message); 66 67 $this-$#@62;lastact="QUIT...
陳述:
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn