首页  >  文章  >  php教程  >  用Socket发送电子邮件八

用Socket发送电子邮件八

WBOY
WBOY原创
2016-06-13 10:27:461042浏览

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 }
  有些意思很清楚的我就不说了。

声明:
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn