Search code examples
phpemailticket-system

Reading emails?


I have thought some time about creating a PHP-based customer-service thingy that assigns different types of customer-related stuff to a ticket-id (#).

For starters, I would like to be able read emails from an email account and assign a ticket-id to every new email that's received.

I have no bloody idea of how I could make PHP read from a email account, or to do whatever that is needed to make this happen, so if anyone here could nudge me in the right direction - it would be fantastic!


Solution

  • This answer might help: How to get email and their attachments from PHP

    This will allow each incoming email to process as it comes in without requiring setting up a cron to process them.