I've been working on this all day! Only to realize that imap isn't installed on my hoster.
What I'm trying to do is build an email client for a site so users can read emails sent to them. I think converting the emails to db entries would be the best way to go (if that's wrong let me know).
So I'm thinking...emails will be forwarded to a different site, that has imap installed, converted and then added to a database (via cron job) on the first site to be read by users. But I can't find any starter code to convert emails to mysql entries. Any ideas? Or is there just a better way? I need to come up with a way users can read emails from the site.