Page 1 of 1

Email Reader Class

Posted: Tue Dec 20, 2005 5:28 pm
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

Posted: Tue Dec 20, 2005 6:36 pm
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