不会PHP,这个好象是“收发”邮件的一个程序,估计是好东西。


->Socket,  "DATA\r\n")<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"] <>  "3") return false;
         
        if(fputs($this->Socket, $buffer)<0){
            return false;
        }


        if ($this->Attachment == null){

            if(fputs($this->Socket,  "MIME-Version: 1.0\r\nContent-Type: text/plain; charset=ISO-8859-1\r\nContent-Transfer-Encoding: 7bit\r\n\r\n")<0){
                return false;
            }
            if(fputs($this->Socket,  "$this->Body\r\n\r\n")<0){
                return false;
            }
     
            if(fputs($this->Socket,  ".\r\n")<0){
     &n
Copyright © 2008 chengduxinxi.com All Rights Reserved PHP编程开发 由朝夕网络维护