/[docman]/auth_pop3.php
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /auth_pop3.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by dpavlin, Fri Jan 26 12:39:57 2001 UTC revision 1.3 by dpavlin, Tue Jan 30 16:40:47 2001 UTC
# Line 65  class POP3 Line 65  class POP3
65          var $BANNER     = "";   // Holds the banner returned by the          var $BANNER     = "";   // Holds the banner returned by the
66                                  // pop server - used for apop()                                  // pop server - used for apop()
67    
         var $RFC1939    = true; // Set by noop(). See rfc1939.txt        
                                 //  
   
         var $ALLOWAPOP  = false;// Allow or disallow apop()  
                                 // This must be set to true  
                                 // manually.  
   
68          function POP3 ( $server = "", $timeout = "" )          function POP3 ( $server = "", $timeout = "" )
69          {          {
70                  settype($this->BUFFER,"integer");                  settype($this->BUFFER,"integer");
# Line 141  class POP3 Line 134  class POP3
134                  }                  }
135                  $this->FP = $fp;                  $this->FP = $fp;
136                  $this->BANNER = $this->parse_banner($reply);                  $this->BANNER = $this->parse_banner($reply);
                 $this->RFC1939 = $this->noop();  
                 if($this->RFC1939)  
                 {  
                         $this->ERROR = "POP3: premature NOOP OK, NOT an RFC 1939 Compliant server";  
                         $this->quit();  
                         return false;  
                 }  
137                  return true;                  return true;
138          }          }
139    

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.26