如何创建新闻通讯应用程序?
我需要创建一个新闻通讯 php 应用程序,它将向所有订阅系统的用户发送模板电子邮件。 我们目前正在使用 PostgreSQL,因此如果 PhpList 无法与 PostgreSQL 配合使用,它将无法为我们工作。
处理这项任务的适当方法是什么?另请记住,将会有大量订阅者。
编辑:我对可以做到这一点的java应用程序持开放态度。
提前致谢。
I'm required to create a newsletter php application that would send template emails to all subscribed to the system users.
We're currently using PostgreSQL so PhpList will not work for us if it's not capable to work with PostgreSQL.
What's the appropriate way of handling this task ? Also keep in mind that there will be big amounts of subscribers.
Edit: I'm opened to java applications that could do the trick..
Thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
获取 Mailman:
http://www.gnu.org/software/mailman/index.html< /a>
然后将您的新闻通讯发送给邮递员(这只是一个地址),并允许邮递员将新闻通讯分发给数千个收件人(您在 Mailman 中配置)。当然,除了 Mailman 之外还有其他软件可以做到这一点......
Get Mailman:
http://www.gnu.org/software/mailman/index.html
Then send your newsletter to mailman (that's just one adress) and allow mailman to distribute the Newsletter to thousands of recipients (that you configure in Mailman). Of course there is other software besides Mailman, that can do just that...
要创建自定义新闻通讯守护程序,您可以使用 System::Daemon。
尝试将此示例用于守护进程: http://kevin.vanzonneveld.net/techblog/article/create_daemons_in_php /
注意:
如果您创建将运行不定式的守护进程,您应该知道 php 会在内存中缓存内容。所以如果你不小心,你最终会没有内存:)
To make a custom newsletter daemon you can use System::Daemon.
Try using this example for daemons: http://kevin.vanzonneveld.net/techblog/article/create_daemons_in_php/
Beware:
If you make daemons that will run infinitive you should be aware that php caches things in the ram. So if you're not careful you'll end up with no ram :)
本教程的重点是发送电子邮件,因此没有涵盖登录区域,但建议您应该将发送电子邮件的脚本存储在安全的地方,这样只有应该能够访问它的人才能执行此操作。
让我们从表单开始,我们需要的只是一个主题字段和一个消息字段,您可以将 HTML 放入消息中,因为我们稍后会将其过滤为文本电子邮件
This tutorial is concentrating in sending out emails as such there's no login area covered, but it's recommended you should have your script to send emails stored somewhere secure so only people who should be able to access it can do.
Lets start with the form, all we need is a field for the subject and a field for the message, you can put HTML into the message as we will filter it out for the text email later