includes/pop3/pop3.php
/* DeleteMessage method - the $message argument indicates the number of
     a message to be marked as deleted.  Messages will only be effectively
     deleted upon a successful call to the Close method. */
DeleteMessage method - the $message argument indicates the number of
a message to be marked as deleted.  Messages will only be effectively
deleted upon a successful call to the Close method.
DeleteMessage method - the $message argument indicates the number of a message to be marked as deleted . Messages will only be effectively deleted upon a successful call to the Close method .
Function DeleteMessage($message)
	{
		if($this->state!="TRANSACTION")
			return($this->SetError("connection is not in TRANSACTION state"));
		if($this->PutLine("DELE $message")==0)
			return($this->SetError("Could not send the DELE command"));
		$response=$this->GetLine();
		if(GetType($response)!="string")
			return($this->SetError("Could not get message delete command response"));
		if($this->Tokenize($response," ")!="+OK")
			return($this->SetError("Could not delete the message: ".$this->Tokenize("\r\n")));
		$this->must_update=1;
		return("");
	}
Function DeleteMessage ( $ message ) { if ( $ this -> state != " TRANSACTION " ) return ( $ this -> SetError ( " connection is not in TRANSACTION state " ) ) ; if ( $ this -> PutLine ( " DELE  $ message " ) == 0 ) return ( $ this -> SetError ( " Could not send the DELE command " ) ) ; $ response = $ this -> GetLine ( ) ; if ( GetType ( $ response ) != " string " ) return ( $ this -> SetError ( " Could not get message delete command response " ) ) ; if ( $ this -> Tokenize ( $ response , " " ) != " +OK " ) return ( $ this -> SetError ( " Could not delete the message:  " . $ this -> Tokenize ( " \r \n " ) ) ) ; $ this -> must_update = 1 ; return ( " " ) ; }
DeleteMessage method - the $message argument indicates the number of
a message to be marked as deleted.
DeleteMessage method - the $message argument indicates the number of a message to be marked as deleted .