Hello all,

  Getting the following error message when opening various user's INBOX,
either on initial login, or when clicking on the INBOX folder:

"Warning: Invalid argument supplied for foreach() in
/var/www/mail/functions/imap_messages.php on line 513"


The mentioned line in imap_messages.php starts with:

        foreach ($read as $read_part) {
            //unfold multi-line headers

 This appears multiple times... presumably once for each email header
that the function is barfing on. Interestingly enough, if you change the
view of the folder ('show_all' or 'Next' and 'Previous'), the errors do
not appear...



Some system information:
  OS: Red Hat Linux 7.1
  SquirrelMail Version: 1.4.0
  IMAP server: MS Exchange 5.5.2653.13


  Some questions:

o What strategies are people using to troubleshoot these kinds of
oddball php issues? Is there any way to enable logging for php? 
o This is probably an issue with a header being mis-parsed or malformed,
but how the heck can I tell WHICH headers in the mailbox cause the
problem, short of moving emails from folder to folder (most of these
users have hundreds, if not thousands of emails in their inbox... ugh).

... Any feedback would be greatly appreciated

Thanks!

--Jason



-------------------------------------------------------
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
--
squirrelmail-users mailing list
List Address: [EMAIL PROTECTED]
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to