I was thinking about programming a ticket system for my site to track all the customer inquiries / comments, etc. It all seems pretty easy except for one part: I don't know how to make customers' e-mails are automatically processed by my script. In other words, if I have a support e-mail like how do I gather information in e-mails sent to that address and store them in the DB? Just looking for a starting point if anyone could help me out. Thanks
There's probably some really clever way to do this with procmail and such but here's an easy way: - Write a small perl/php script that logs in to your mail accout using POP3 - Read the message - Parse as needed - Store in DB - Send ticket awknowledgement back to user Cron job the thing to run every 5 minutes.