Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想为我的系统准备一个队列以使用队列发送电子邮件。假设我有一个脚本来插入一些记录并发送一封电子邮件,那么我会将这些电子邮件添加到队列中,当队列执行时,将发送电子邮件。
你能给我一些例子来指导我如何使用 zend-framework2 吗?
你试过什么?
堆栈溢出不是这样工作的,你不能只求一份工作,就指望人们会很好地提供。
关于您现在的需求,我建议您使用Zend 框架的SlmQueue。
如果你使用学说,我会建议这个插件
如果您想要更复杂的解决方案,我会推荐一个软实现 AMQP 协议,例如rabbitMQ