• Hello,

    Try to get apop with wordpress, doesn’t work because:

    Example parse_banner reply with <14649.123343777@code-werk.net> but the string was “+OK ready <14649.1203343777@code-werk.net>”
    or another example
    “+OK ready <14649.1203343777@code-werk.net>” and $pop3->parse_banner give back <14419.12334323@code-werk.net>

    then a md5($AuthString) must fail, because the 0 is significant.

    Is there a way for TLS? cleartext isn’t allowed by code-werk.net.

    Cheers,
    Arnold

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter ASonno

    (@asonno)

    workaround …
    function parse_banner ( $server_text ) {
    preg_match(‘@^(?:OK)?([^/]+)@i’,$server_text, $matches);
    $banner = $matches[1];
    preg_match(‘/[^<]+\.[^.]+$/’, $server_text, $matches);
    $banner = “<{$matches[0]}”;
    $banner = $this->strip_clf($banner);
    return “$banner”;
    }

    does it for me.

    Cheers,
    Arnold

    Thread Starter ASonno

    (@asonno)

    http://www.babsi.de/silentapop/ solve the Problem for me. Now I can blog by Email.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘wp-includes/class-pop3.php pop->parse_banner eliminate Zeros’ is closed to new replies.