不会PHP,这个好象是“收发”邮件的一个程序,估计是好东西。
;Socket <= 0){ return false; } $this->Line = fgets($this->Socket, 1024); $this->Status[ "LASTRESULT"] = substr($this->Line, 0, 1); $this->Status[ "LASTRESULTTXT"] = substr($this->Line, 0, 1024); if ($this->Status[ "LASTRESULT"] <> "+") return false; return true; } function pop3_user($user) { if ($this->Socket < 0){ return false; } fputs($this->Socket, "USER $this->user\r\n"); $this->Line = fgets($this->Socket, 1024); $this->Status[ "LASTRESULT"] = substr($this->Line, 0, 1); $this->Status[ "LASTRESULTTXT"] = substr($this->Line, 0, 1024); if ($this->Status[ "LASTRESULT"] <> "+") return false; return true; } function pop3_pass( $pass) { fputs($this->Socket, "PASS $pass\r\n"); $this->Line = fgets($this->Socket, 1024); $this->Status[ "LASTRESULT"] = substr($this->Line, 0, 1); &n |
查看所有评论
