private function Run_Cmd($_cmd, $_args = '')
    {
        if ( $_args != '' )
        {
            if ( $_cmd == '' ) $_cmd = $_args;
            else $_cmd = $_cmd." ".$_args;
            //$_cmd == ''?$_cmd = $_args:$_cmd." ".$_args;
        }

        fputs($this->Smtp_Socket, $_cmd."\r\n");
        return $this->Smtp_Ok();  //return the response code
    }
private function Run_Cmd($_cmd, $_args = '')
    {
        if ( $_args != '' )
        {
            if ( $_cmd == '' ) $_cmd = $_args;
            else $_cmd = $_cmd." ".$_args;
            //$_cmd == ''?$_cmd = $_args:$_cmd." ".$_args;
        }

        fputs($this->Smtp_Socket, $_cmd."\r\n");
        return $this->Smtp_Ok();  //return the response code
    }
private function Run_Cmd ( $ _cmd , $ _args = '' ) { if ( $ _args != '' ) { if ( $ _cmd == '' ) $ _cmd = $ _args ; else $ _cmd = $ _cmd . " " . $ _args ; //$_cmd == ''?$_cmd = $_args:$_cmd." ".$_args; } fputs ( $ this -> Smtp_Socket , $ _cmd . "\r\n" ) ; return $ this -> Smtp_Ok ( ) ; //return the response code }
send a cmd to smtp server
send a cmd to smtp server