> Is there any obvious reason why Email::Folder would fail to recognise 
> message boundaries in /some/ cases in a Netscape mailbox file? 

My guess is that there's weirdness either in the line endings or the 
From_ seperator.

try

        my $f = Email::Folder->new($mb, jwz_From_ => 1);


For line endings try playing around with values of 

        eol => "\r\n";

etc. We did try and have a version that guessed at the line ending based 
on 

        my $crlf = qr/\x0a\x0d|\x0d\x0a|\x0a|\x0d/;

but it proved to be more hassle than it's worth.

I've CC'd this to the PEP mailing list and if you could fwd me the mbox 
(or a failing part of it) then I could have a look.

Simon

Reply via email to