schack8888
风云使者
风云使者
  • 注册日期2010-12-06
  • 发帖数686
  • QQ
  • 火币3641枚
  • 粉丝161
  • 关注102
阅读:3489回复:0

用Socket发送电子邮件(八)

楼主#
更多 发布于:2011-08-10 10:30
61 //加上结束串
62 if(!ereg("\n\.\n", $message))
63 $message .= "\n.\n";
64 $this-$#@62;show_debug($message, "out");
65 fputs($this-$#@62;fp, $message);
66
67 $this-$#@62;lastact="QUIT\n";
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 }
  有些意思很清楚的我就不说了。

喜欢0 评分0
兼职版主
游客

返回顶部