2005-06-13 10:56:02 UTC
Hi all;
first of all, I have to second what Steven wrote - it's a good thing having something like mstor around; thanks to all who made it possible.
Anyhow, unfortunately I also share the problem regarding mstor seeing only the "first" message. Then again, I don't think mstor only "sees" the first message; I used it to access quite a huge mbox file and getMessageCount() successfully returned the correct number of mails in that folder. Doing something like
...
curidx=folder.getMessageCount()
Message msg=folder.getMessage(curidx);
System.out.println(msg.getSubject());
...
also works, but, no matter what value "curidx" does have, the subject printed out always is the subject of the first message in that mbox (it doesn't work this way, however, for curidx=0 or curidx > getMessageCount()).
System environment:
Debian GNU/Linux sid (unstable)
JDK 1.5.0_01
javamail 1.3.2
mstor 0.9.5
I'll also try to get the source version and see what happens, but just for the records - I've seen the same problem on a platform that's not Mac. :o
Cheers,
Kris