irm-1.6-b3/lib/pop3.php
/* Open method - set the object variable $hostname to the POP3 server address. */
Open method - set the object variable $hostname to the POP3 server address.
Open method - set the object variable $hostname to the POP3 server address .
Function Open()
	{
		if($this->state!="DISCONNECTED")
			return($this->SetError("1 a connection is already opened"));
		if(($error=$this->OpenConnection())!="")
			return($error);
		$this->greeting=$this->GetLine();
		if(GetType($this->greeting)!="string"
		|| $this->Tokenize($this->greeting," ")!="+OK")
		{
			$this->CloseConnection();
			return($this->SetError("3 POP3 server greeting was not found"));
		}
		$this->Tokenize("<");
		$this->must_update=0;
		$this->state="AUTHORIZATION";
		return("");
	}
Function Open ( ) { if ( $ this -> state != " DISCONNECTED " ) return ( $ this -> SetError ( " 1 a connection is already opened " ) ) ; if ( ( $ error = $ this -> OpenConnection ( ) ) != " " ) return ( $ error ) ; $ this -> greeting = $ this -> GetLine ( ) ; if ( GetType ( $ this -> greeting ) != " string " || $ this -> Tokenize ( $ this -> greeting , " " ) != " +OK " ) { $ this -> CloseConnection ( ) ; return ( $ this -> SetError ( " 3 POP3 server greeting was not found " ) ) ; } $ this -> Tokenize ( " < " ) ; $ this -> must_update = 0 ; $ this -> state = " AUTHORIZATION " ; return ( " " ) ; }
Open method - set the object variable $hostname to the POP3 server address.
Open method - set the object variable $hostname to the POP3 server address .