Reading emails from a IMAP mailbox - PHP
// Multiple email account $emails = array( array( 'no' => '1', 'label' => 'Inbox Email 1', 'host' => '{mail.domain.com:143/notls}INBOX', 'username' => '[email protected]', 'password' => 'xxxxxxxxxx' ), array( 'no' => '2', 'label' => 'Inbox Email 2', 'host' => '{mail.domain.net:143/notls}INBOX', 'username' => '[email protected]', 'password' => 'xxxxxxxxxx' ) // bla bla bla ... );DEMO