Email Reader Class

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
Todd_Z
Forum Regular
Posts: 708
Joined: Thu Nov 25, 2004 9:53 pm
Location: U Michigan

Email Reader Class

Post by Todd_Z »

Hey - has anyone seen any classes / know any algorithms and methods to deal with incoming emails?

Basically I'm trying to parse out the To, From, Subject, Body and grab any attachments. Besides for that, I dont really care. Thanks
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

Without sounding like an RTFM comment.... have you looked at the IMAP Functions ? They support NNTP, IMAP and POP. If run with cron these could be damn useful to you.

I got halfway to writing an web frontend to IMAP/POP email accounts with these alone. There's enough functions to allow you to (easily) do what you need :D
Post Reply