FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » maillist.php <> gmail (Solution?)
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
maillist.php <> gmail [message #163532] Fri, 05 November 2010 06:29 Go to previous message
LewistownMT is currently offline  LewistownMT   United States
Messages: 1
Registered: November 2010
Karma:
Junior Member
####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!
[Message index]
 
Read Message
Read Message
Previous Topic: 3.0.2RC1 javascript "select all/none" checkbox doesn't work
Next Topic: [SOLVED]Header/Body Alignment after 3.0.2 upgrade
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Nov 28 23:56:23 GMT 2024

Total time taken to generate the page: 0.04212 seconds