####CAUTION NEWBIE POST######
Installed 2.0.3RC2 primarily as a test for mailing list archival / interactive purposes. Using gmail account subscribed to the list as the source for posts.
Code modified (around line 152)
// $emails = @imap_search($mbox, 'RECENT');
$emails = @imap_search($mbox, 'ALL');
// $emails = array_reverse(@imap_sort($mbox, 'SORTDATE', 0));
The array_reverse call was returning a null value and throwing this error on the system:
PHP Warning: array_reverse() expects parameter 1 to be array, null given in /var/FUDforum/scripts/mymaillist.php on line 153
I tried commenting out that line and reverting to the imap_search($mbox, 'RECENT') call, however $emails was still coming up empty despite NEW messages in the inbox...maybe its a gmail IMAP thing? Switchin the paramet to 'ALL' solved it for me: brought the messages from the inbox, posted them to FF and deleted them from the gmail account. I can live with it.
Maybe this will save someone else some hours of sleuthing.
Thanks for the great forum solution!