Which IMAP PHP library is the best?

I need suggestion for good IMAP library to be integrated with Yii project.

I checked few: Horde Mail lib, Zend_Mail, fmail box, and so far Zend_Mail look like best option(although far from ideal).

Can you tell me your experiences with those libraries, or suggest some other library.


AFAIK Horde_Imap is the most complete feature-wise. Never had any issues with it.

To be fair: I hardly ever looked at any other lib :rolleyes:

After many hours with Zend Imap library, I found out that it doesn’t support searching messages on IMAP server. Actually it does’ but that say that code is just for internal use, without any other explanation.

So, I decided to go with PHP IMAP functions.