如果我想创建一个类似于谷歌群组的“电子邮件列表”(并最终与网站集成),我应该考虑哪些服务?我以前没有真正处理过电子邮件,所以我不能 100% 确定它是如何运作的。我确实知道我需要小心被列入黑名单等。我是否使用诸如 sendgrid/mailman 之类的东西?我想象当用户点击“全部回复”时,所有电子邮件都会发送到我的服务器,而在我这边,我会推送该电子邮件,就好像它来自用户,但实际上它来自我的“邮件”服务器?似乎用户不需要“回复全部”来发送到列表,并且没有快速的方法来回复一个用户(这对于这个应用程序来说是一件好事)。
所以我想象这个工作的方式:
1)我使用像sendgrid这样的东西来“监听”发送到 [电子邮件受保护]
2)当电子邮件到来时(即来自用户x),我会对垃圾邮件等进行一些过滤,然后将它们全部推送到“所有用户/订阅者”
3)所有用户都会收到“来自用户x”的内容(但它实际上来自我的服务器,在谷歌群组上,它说“通过谷歌群组”),“回复”是[email protected]
我想这就是它的工作原理,但我不能 100% 确定这是正确的,或者 sendgrid 是否允许我这样做(如果它会)成本太大)。
谢谢
if I wanted to create an "email list" along the lines of google groups (and eventually integrate with a web site), what services should I look into? I haven't really dealt with email before so I'm not 100% sure how it all works. I do know I need to be careful about being blacklisted, etc. Do I use something like sendgrid/mailman? I imagine all emails go to my server when a user hits "reply all" and on my end I push that email as though it came from the user but really it came from my "mail" server? It seems a user doesn't need to "reply all" to send to the list and there is no quick way to reply to just one user (which is a good thing for this app).
So the way I imagine this working:
1) I use something like sendgrid to "listen" for emails coming to [email protected]
2) When emails come (i.e from userx) I do some filtering for spam, etc and then push them all out to "all users/subscribers"
3) All users get something that is "from user x" (but it's really from my server, on google groups it says "via googlegroups") and the "reply to" is [email protected]
I imagine this is how it all works but I'm not 100% sure this is correct or if sendgrid will allow me to do this (and if it will cost too much).
Thanks
发布评论
评论(4)
这实际上取决于您的需求和技能。对于简单的邮件列表,有一些非常成熟的软件,例如 ListServ 或 MajorDomo
如果您没有运行 Unix 变体,或者您对设置此类软件没有信心,他们可能不会虽然合适。
It really depends on what your needs and skills are. For simple mailing lists there is some very established software such as ListServ or MajorDomo
If you're not running a Unix variant, or you're not confident setting up this kind of software they might not be suitable though.
您可以使用 SendGrid 来处理传入的电子邮件,但在发送之前您必须重新组装消息,因为它将以 解析方式。好消息是 SendGrid 可以为您处理垃圾邮件检查。
SendGrid 目前不收取入站解析费用,但当然这可能会改变。因此,就您的成本而言,您只能将积分用于发送的邮件。请记住,SendGrid 仅向白银(80 美元/月)客户或免费(每天 200 封电子邮件)计划的客户提供 Parse API,但计划添加一个也可以访问所有 API 的较低层包。
您还可以使用 SendGrid 处理取消订阅,但如果您使用另一个可能是多余的列表管理解决方案。
You can use SendGrid to handle your incoming email, but you will have to re-assemble the message before sending it out since it will be posted to your incoming parse URL in a, well, parsed way. The good news is that SendGrid can handle the spam check for you.
SendGrid currently doesn't charge for inbound parsing, but of course that may change. So as far as your cost goes, you would only use credits for the mail you send. Keep in mind that SendGrid only provides the Parse API to silver ($80/mo) customers or customers on the free (200 emails/day) plan, but there are plans to add a lower tier package that also has access to all APIs.
You can also use SendGrid to handle unsubscribes, but if you are using another solution for list management that's probably superfluous.
谷歌搜索“邮件列表托管”会出现大量网站,其中一些至少在某些条件下是免费的。他们中的许多人会使用 Mailman / Majordomo / Listserv 之类的东西;当然,如果您愿意,您也可以在自己的服务器上运行 Mailman 或 Majordomo,因此从这个角度来看您的问题并没有真正意义。雅虎网上论坛/谷歌网上论坛也可以很乐意为您托管一个列表。您需要该列表仅对订阅者可见吗? Google 网上论坛和雅虎网上论坛也将托管私人列表。
邮件列表的工作原理基本上类似于密件抄送:邮件。您发送至邮件列表的提交地址;然后它会替换一些标头(通常是发件人:也可能是回复:),然后将消息重新分发给所有订阅者。在幕后,它可能会重写一些标头,以确保退回邮件返回到列表软件以进行进一步处理(例如,自动取消订阅始终返回退回邮件的地址),并且通常,它会按顺序分发邮件,但会延迟一些不要使传出带宽饱和和/或阻塞接收服务器;尽管其中的某些部分也由常规邮件传输代理(MTA - Postfix 或 Sendmail 或您拥有的其他代理)处理。
Googling for "mailing list hosting" brings up a wealth of sites, some of them free at least under some conditions. Many of them will use something like Mailman / Majordomo / Listserv; certainly you can run Mailman or Majordomo on your own server if you like, as well, so your question doesn't really make sense from that point of view. Yahoo Groups / Google Groups can also happily host a list for you. Do you need the list to be visible to subscribers only? Google Groups and Yahoo Groups will host private lists, too.
A mailing list basically works like Bcc: mail. You send to the mailing list's submission address; it then replaces some of the headers (often the Sender: and perhaps Reply-To:) and then redistributes the message to all the subscribers. Behind the scenes, it might rewrite some headers to make sure bounce messages come back to the list software for further handling (for example, to automatically unsubscribe addresses which consistently return a bounce), and often, it distributes the message with some delay in order not to saturate the outgoing bandwidth and/or choke a receiving server; though some parts of this are also handled by the regular mail transport agent (MTA -- Postfix or Sendmail or what have you).
您可以查看 ezmlm
您无需担心 sendgrid。只需获得一个便宜的 vps,配置 DNS 并安装 MTA(postfix,qmail,sendmail)imap(courier,dovecot),一个现代列表服务器,然后让它发挥魔力!在我订阅的列表中,我可以选择回复帖子或整个群组。
You might look at ezmlm
You do not need to worry about sendgrid. Just get a cheap vps,configure DNS and, install MTA(postfix,qmail,sendmail) imap(courier,dovecot), a modern listserve, and let it do it's magic! On the lists where I am subscribed , I have the option to reply to a post, or the whole group.