WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Blog-By-Email wp-mail.php Problem (2 posts)

  1. datlan
    Member
    Posted 7 years ago #

    I just installed WordPress 2.2 and decided to get Blog-By-Email working. When I try to execute wp-mail.php (via my specific URL), I get the following error:

    --- /usr/local/www/data/wordpress/wp-includes/class-pop3.php Thu Jun 7 18:18:08 2007 +++ ./wp-includes/class-pop3.php Fri Jun 15 01:40:49 2007 @@ -367,13 +367,19 @@ while ( !ereg("^\.\r\n",$line)) { $line = fgets($fp,$buffer); - if (preg_match("/^\s+/", $line) && $count > 0) { + if (preg_match("/^\s+\S+/", $line) && $count > 0) { $MsgArray[$count-1] .= $line; continue; } - if(empty($line)) { break; } + if ((ereg("^\.\r\n",$line)) || (empty($line))) { break; } + + //Strip any extra leading periods and store the result + if (ereg("^\.\.", $line)) { + $MsgArray[$count] = substr($line, 1); + } else { + $MsgArray[$count] = $line; + } - $MsgArray[$count] = $line; $count++; } return $MsgArray;
    Fatal error: Cannot instantiate non-existent class: pop3 in F:\hshome\myhost\blog\wp-mail.php on line 12

    Does anyone have any idea as to what could be wrong? Everything else appears to work correctly.

    Thanks!

  2. datlan
    Member
    Posted 7 years ago #

    Never mind. I installed the class-pop3.php patch incorrectly.

    Sorry for bothering you.

Topic Closed

This topic has been closed to new replies.

About this Topic