PHP / MySQL Ticket Response - Store E-mail repsonse in database?

后端 未结 3 1032
失恋的感觉
失恋的感觉 2021-01-12 09:25

I am building a basic support request system where the customer can log in and ask a question and an admin can go in and reply and it will set the status to \"Responded\" an

3条回答
  •  长情又很酷
    2021-01-12 09:44

    You could use email piping (if your server supports it).

    In the subject, you'd have a unique identifier which contains the ticket ID or something unique to the ticket. Example: "How do I eat food [Question: #1234]", where 1234 is the ticket ID.

    In your control panel, you would set up an email forwarder to your email piping script.

    This tutorial offers the basics to email piping, and I used it as the base for my piping script: http://www.damnsemicolon.com/php/parse-emails-in-php-with-email-piping-part-1

提交回复
热议问题