Flourish PHP Unframework
This is an archived copy of the forum for reference purposes

URGENT fmailbox how to list (sender, subject, date-time) json format ?

posted by ajaxvador 8 years ago


how to list (sender, subject, date-time, read or unread) in json format ?

$mailbox = new fMailbox('pop3', 'mail.myhost.com', 'user@host.com', 'password', null, false ); fCore::enableDebugging(FALSE); $messages = array(); foreach ($mailbox->listMessages() as $uid => $overview) { fCore::expose($mailbox->fetchMessage($uid)); } ?>

many thanks