PHP/MySQL票证响应-将电子邮件回复存储在数据库中吗? [英] PHP / MySQL Ticket Response - Store E-mail repsonse in database?

查看:205
本文介绍了PHP/MySQL票证响应-将电子邮件回复存储在数据库中吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在构建一个基本的支持请求系统,客户可以登录并提出问题,管理员可以进入并回复,它将状态设置为已回复"并通过电子邮件向客户发送电子邮件,让他们认识某人已经回应.

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" and e-mail the customer to let them know someone has responded.

我的问题是..我有一个评论"部分,它是管理员和客户之间交互的日志.如果我通过电子邮件向客户发送管理员的初步答复,那么我会感觉他们只会从他们的电子邮件中单击答复"并开始通过该处进行通信,而日志将不会被存储.

My question is.. I have a "comments" section which is a log of the interaction between the admin and the customer. If I e-mail the customer the initial response from the admin, then I have a feeling they will just hit "Reply" from their email and start communicating through there, and the logs won't be stored.

我可以向客户发送电子邮件并说登录以查看回复",或者如果客户确实点击了回复,我可以以某种方式跟踪它并将其插入评论表中,就像他们在网站上所做的那样.如果可能的话?

I could either e-mail the customer and say "Log in to view the response", or maybe if the customer does hit reply I can somehow track it and insert that in the comments table like they did it from the website. If that is even possible?

只是想知道是否有标准方法可以做到这一点,以及您可能有什么建议.

Just wondering if there is a standard way to do this and any suggestions you may have.

谢谢!

推荐答案

向用户发送电子邮件时,可以从为该特定票证创建的电子邮件地址发送电子邮件.可以在您的电子邮件系统中识别出来的东西,可以帮助您将其路由回php票务系统.

When sending the email to the user you can have it sent from an email address created for that specific ticket. Something that can identify it with your email system to help you route it back to the php ticketing system.

support(ticketnumber)@domain

support(ticketnumber)@domain

support12345@mydomain.com

support12345@mydomain.com

然后,取决于您的电子邮件服务器如何从那里去. 这个问题有几个有用的提示,可能会有所帮助或入门.

Then it depends on your email server how to go from there. There are several useful tips at this question that may help or get your started.

如何从PHP获取电子邮件及其附件

这篇关于PHP/MySQL票证响应-将电子邮件回复存储在数据库中吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆