PHP Basecamp 具有电子邮件回复功能
我正在使用 Basecamp,对于客户来说,回复消息并在 Basecamp 中自动回复是一个非常好的功能。
我想知道这是怎么做到的,有人有什么想法吗?
我是一名 PHP CodeIgniter 开发人员,如果有人给我一些指导来对此进行一些研究,将会很有帮助。
谢谢!
I was using basecamp, and for clients to reply to a message and automatically replies to it in basecamp is a pretty nice feature.
I was wondering how it's done, anybody have any ideas?
I am a PHP CodeIgniter developer, would be helpful if somebody gave me some pointers to do some research into this..
Thank you !
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
创建这种功能相当令人畏惧,但让我们尝试一下:
====== 回复 =====
上方的所有数据。检查发件人的电子邮件地址,验证是否允许用户向该对象发帖、写入该对象并删除消息。你可以检查你的邮件服务器是否有某种钩子支持,每次有新消息进来时都会触发它。或者,你可以每隔几分钟将其作为一个 cron 作业运行(但这不是很有效,正如你想象的那样) )。就我个人而言,我一直想为传入邮件服务器创建一个 Node.JS 实现,但我还没有想到它(但请查看 这个 GitHub 项目 以获得一些灵感。)
Creating this kind of a functionality is quite daunting, but let's give it a try:
====== reply above this line =====
. Check the sender's e-mail address, verify if the user is allowed to post to this object, write to the object and delete the message. You could check if you mail server has some kind of hook support, that fires every time a new messages comes in. Alternatively, you could run this as a cron-job every few minutes (but this is not very efficient, as you may imagine).Personally, I've been wanting to make a Node.JS implementation of the incoming mail server, but I haven't come around to it yet (but check out this GitHub project for some inspiration.)
我开始使用 SendGrid 来处理解析传入的电子邮件。它工作得非常好。
I started using SendGrid to handle parsing incoming e-mails. It works very nicely.