Ruby:邮件列表库或 gem
谁能推荐一个好的 gem 或库来使用 Ruby 管理邮件列表?如果可能的话,请不要使用 Rails 解决方案(我不想有 ActionWhatever 依赖项,这很可能是通过 Ramaze 完成的)。
我只需要基本功能,例如列表本身的管理(用户列表上的 CRUD 操作),以及能够发送通知、欢迎消息以及自动响应订阅和取消订阅等基本功能。
最理想的是,人们应该能够通过 Ramaze 网页(即我让 Ramaze 调用/访问库的 API)以及通过向特定电子邮件地址发送电子邮件来订阅。但我愿意放弃通过电子邮件进行的操作。
我愿意接受非 Ruby 或非编程解决方案,如果它们很好的话,但从网页订阅[在我的控制下]的能力是必须的。
编辑:抱歉,我忘记添加一个重要细节:这是一个单向邮件列表。也就是说,人们应该能够订阅和取消订阅,但只允许一个人发送到广播列表。
Can anyone recommend a good gem or library for managing a mailing list with Ruby? No Rails solutions, if possible, please (I don't want to have ActionWhatever dependencies, this will most likely be done with Ramaze).
I just need basic features, like management of the list itself (CRUD operations on the user list), plus being able to send notifications, welcome messages, and also auto respond to basic things like subscribe and unsubscribe.
Optimally, people should be able to subscribe via both a Ramaze web page (i.e. I'd have Ramaze call/access the lib's API), as well as by sending an email to a specific email address. But I am willing to forego the operations by email.
I'm willing to entertain non-Ruby, or non-programmatic solutions, if they are good, but the ability to subscribe from a web page [under my control] is a must.
EDIT: Sorry, one important detail I forgot to add: This is intended to be a one-way mailing list. That is, people should be able to subscribe and unsubscribe alright, but only one person should be allowed to send to the list for broadcasting.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我不太确定你的要求。如果你只需要基本功能,你为什么关心它是用什么语言实现的呢?仅当您需要必须自己实现的高级功能时,您才需要了解这一点!
根据您的要求,几乎任何邮件列表服务器都可以满足您的要求。
然而,我想提出一个具体的建议,只是因为我认为这是一个非常酷的电子邮件应用程序令人耳目一新的例子: 拉姆森。
Lamson不是一个邮件列表服务器,而是一个电子邮件应用程序开发框架(类似于 Rails 是一个 Web 应用程序开发框架)。 Lamson 不是用 Ruby 编写的,而是用 Python 编写的,但这无疑是自电子邮件以来发生的最好的事情。有史以来。它是由 Zed Shaw (来自 Mongrel 名声),并且基于这样的前提:就像 Rails 证明 Web 开发不一定是 PITA,电子邮件开发也不一定是 PITA。 (在这方面,它类似于 Adhearsion,后者也采用了 Rails 的思想并应用于完全不同的领域, )
已经有一个基于 Lamson 的邮件列表服务,称为 Libre List,(自然地 托管 Lamson 邮件列表等。 Libre List 的源代码是以包含在 Lamson 源代码分发中为例。
I'm not exactly sure about your requirements. If you only need basic features, why do you care what language it is implemented in? You would only need to know this if you need advanced features that you have to implement yourself!
Given your requirements, pretty much any mailing list server will fit the bill.
However, there is a specific suggestion I would like to make, just because I think it is an extremely cool example of a refreshing take on e-mail applications: Lamson.
Lamson is not a mailing list server, rather it is an e-mail application development framework (similar to how Rails is a web application development framework). Lamson is not written in Ruby, but in Python, but it is quite simply the best thing that has happened to e-mail since, well, ever. It was written by Zed Shaw (of Mongrel fame), and is based on the premise that just like Rails proved that web development doesn't have to be a PITA, e-mail development doesn't have to be, either. (In that way it is similar to Adhearsion, which also took the ideas of Rails and applied to a totally different domain, in this case telephony.)
There is already a mailing list service based on Lamson, called Libre List, which (naturally) hosts the Lamson mailing lists, among others. The source code to Libre List is included in the Lamson source distribution as an example.
我最终选择了 Google 网上论坛。 (如果 Silky 愿意为此添加官方答案,我很乐意将其标记为官方接受的答案。)
Google 网上论坛允许您更改设置,以便您可以拥有像我想要的“时事通讯”(即单个发件人、多个发件人)收件人)。它还具有可嵌入的 HTML 片段,可在您的控制下从网页快速订阅。
I ended up going with Google Groups. (If silky would care to add an official answer to this effect, I would gladly mark it as the official accepted answer.)
Google Groups lets you alter settings so that you can have a "newsletter" like I wanted (i.e. single sender, multiple recipients). It also has an embeddable HTML snippet ready to go for quick subscription from a web page under your control.