Ticketing Support System in PHP?

Discussion in 'PHP' started by kkibak, Dec 15, 2006.

  1. #1
    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
     
    kkibak, Dec 15, 2006 IP
  2. tandac

    tandac Active Member

    Messages:
    337
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    58
    #2
    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.
     
    tandac, Dec 15, 2006 IP