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.
IMAP/POP3 class???
Moderator: General Moderators
-
alex.barylski
- DevNet Evangelist
- Posts: 6267
- Joined: Tue Dec 21, 2004 5:00 pm
- Location: Winnipeg
Re: IMAP/POP3 class???
http://php.net/imap
From one glance at that page, a "Single Class" would be a hideous mess. Perhaps using a hierarchy is best?
From one glance at that page, a "Single Class" would be a hideous mess. Perhaps using a hierarchy is best?
-
alex.barylski
- DevNet Evangelist
- Posts: 6267
- Joined: Tue Dec 21, 2004 5:00 pm
- Location: Winnipeg
Re: IMAP/POP3 class???
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...
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...