[nycphp-talk] Recommend Email POP3 Class or code snippet
Tom
tom at supertom.com
Sat Mar 6 11:50:38 EST 2004
Hans,
I received this last weekend, but have been too busy to look at it. I'm
certainly going to dive into it today - thanks again!
Tom
-----Original Message-----
From: talk-bounces at lists.nyphp.org [mailto:talk-bounces at lists.nyphp.org] On
Behalf Of Hans Zaunere
Sent: Saturday, February 28, 2004 12:39 AM
To: NYPHP Talk
Subject: RE: [nycphp-talk] Recommend Email POP3 Class or code snippet
Hey Tom,
> Looking for a recommendation for an email class to handle polling a
> POP3 box. In the past, I've used the POP3 class on phpclasses.org
> without issue, but I don't believe it handles attachments (I could be
> wrong, just getting
Speaking POP (or any email protocol) isn't really related to attachments.
You could, for example, send HTTP packets over email if you really wanted
to. In fact, you could send IP packets if you have nothing to do.
> into this now), which is a definite requirement. I found another
> class there called 'clsImap.php', which I quickly installed and tried
> the test script with no luck (it handles POP3 in addition to IMAP, despite
the name).
> This one looks promising however, so I will research it further.
>
> However, what I am after is a recommendation from someone who has
> actually done this (with attachments) and can recommend a reliable
> class (or code
> sample) that I should go with.
For IMAP there's of course: http://us2.php.net/imap
And for pop, phpclasses.org probably has you covered. I haven't had to
speak POP myself, so I'm lucky.
I have, however, had to parse email messages a lot, and this means MIME. So
much so, I wrote my own parser, which is actually generic to MIME
(http/email/etc). It's attached and I'd be happy for any feedback. I'm
using it in production and all has been happy, but I'm always ready for
patches, etc.
H
More information about the talk
mailing list