Hi!
I'm currently trying to parse mail messages from a mbox file.
It works like charm, but only for the first message in mbox file. All other messages are being ignored.
I'm using the following code:
<?php
$handle = fopen('/var/www/html/sent_mails.mbox', 'rb');
$message = $mailParser->parse($handle, false);
// Here I can access all info of the first message in mbox file
fclose($handle);
When I repeat the $mailParser->parse($handle, false); call on the same handle, I get weird results.
Do you have any hints, how to get multiple messages from mbox file? Or is it not possible with this library?
Hi! I'm currently trying to parse mail messages from a mbox file.
It works like charm, but only for the first message in mbox file. All other messages are being ignored. I'm using the following code:
When I repeat the
$mailParser->parse($handle, false);
call on the same handle, I get weird results.Do you have any hints, how to get multiple messages from mbox file? Or is it not possible with this library?
Thanks in advance! ~Armin