Menu

#4 fix for pop3.inc -- 2 POP3 server greeting was not found

open
nobody
None
5
2003-01-02
2003-01-02
No

in pop3.inc, in the function Open(),
the call to strtok():

strtok($this->greeting," ")!="+OK"

should look like this instead:

strtok($this->greeting," \r\n")!="+OK"

in that, the fgets() call on the previous
line is returning "+OK\r\n".

Discussion


Log in to post a comment.