入门级
部门级
企业级
特种服务器
其它

五大核心
Web服务器
FTP服务器
Mail服务器
域名服务器
文件共享服务器
其它
路由器应用
代理服务器
数据库

Windows阵营
Unix
Linux
你的位置: 软件> 服务器软件> Mail服务器>
用Socket发送电子邮件(八)
2000-09-15 00:00:00· limodou· yesky

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

■ 相关内容