hackalive Posted October 1, 2012 Share Posted October 1, 2012 Hi guys, I am using PHP's IMAP functions to create a basic web-mail client to go with a dashboard I have. I am using imap_fetch_overview which it listing the emails nice and quick - but not in order of date recieved (newest first). How can I rectify this? Simply adding in an imap_sort before imap_fetch_overview seems to break the code and stop it from running the IMAP quiries. Any help is much appreciated - cheers. Quote Link to comment https://forums.phpfreaks.com/topic/268955-imap/ Share on other sites More sharing options...
hackalive Posted October 1, 2012 Author Share Posted October 1, 2012 array_reverse() and all is solved Quote Link to comment https://forums.phpfreaks.com/topic/268955-imap/#findComment-1382038 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.