[wp-trac] Re: [WordPress Trac] #3568: class-pop3.php does not always
correctly read till end-of-mail on mail server
WordPress Trac
wp-trac at lists.automattic.com
Fri Jan 12 09:16:06 GMT 2007
#3568: class-pop3.php does not always correctly read till end-of-mail on mail
server
----------------------------+-----------------------------------------------
Reporter: fix22 | Owner: anonymous
Type: defect | Status: new
Priority: high | Milestone: 2.2
Component: Administration | Version: 2.0.5
Severity: critical | Resolution:
Keywords: |
----------------------------+-----------------------------------------------
Comment (by fix22):
I noticed it did not place the code correctly so here's all the code
blocks used above:
{{{
preg_replace("/'/","\\'",$content),
while ( !ereg("^\.\r\n",$line))
while (!feof($fp))
if(empty($line)) { break; }
while (!feof($fp))
{
$MsgArray[$count] = $line;
$count++;
$line = fgets($fp,$buffer);
echo "Read mail line".$count.": ".$line."\n";
if(empty($line)) {
echo "Read mail line - Break Issued\n";
break; }
}
}}}
--
Ticket URL: <http://trac.wordpress.org/ticket/3568#comment:1>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list