Page 1 of 1

IMAP/POP3 class???

Posted: Sun Sep 28, 2008 11:06 pm
by alex.barylski
Anyone know of a quality POP3/IMAP class? Something like Swift?

I'm aware of the classes at PHPClasses but those are rarely well done and the one I looked at immediately turned me off.

I'm currently using the POP3 class that comes with Zend but man that class has a lot of dependencies. Ideally a single simple class that wraps the IMAP functions would be best.

Re: IMAP/POP3 class???

Posted: Mon Sep 29, 2008 8:53 am
by Jenk
http://php.net/imap

From one glance at that page, a "Single Class" would be a hideous mess. Perhaps using a hierarchy is best?

Re: IMAP/POP3 class???

Posted: Mon Sep 29, 2008 1:30 pm
by alex.barylski
I agree and disagree. :)

Yes it would make for a nasty mega class but I hate hierarchies too.

I only really need like 5-6 functions to accomplish what I need...so that class owuld be pretty simple I just don't want to write one myself, incase I miss any functions or caveats.

Like message ID's starting at ONE instead of ZERO...that had me stumped for a while working with the native IMAP API.

Bah...no biggie...