设置大型电子邮件通知系统有什么方法? [英] What methods exist for setting up a large email notification system?

查看:183
本文介绍了设置大型电子邮件通知系统有什么方法?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的公司有一个使用PHP构建的网站。我们使用内置的PHP电子邮件功能,每天向用户发送数千封电子邮件。



这是一个可怕的想法。它扼制了我们的服务器,需要几个小时才能完成整个批处理。



现在我已经看过了大量邮件服务,如MailChimp(这将取代我们当前的发送系统同样的电子邮件给许多人),但我认为我真正想要做的是设置一个复杂的通知系统。



而不是发送大量每次发生重要事件时都会向每个人发送电子邮件,我希望客户能够自定义他们收到的电子邮件的速率和内容。



即使使用这个新的想法,我们正在谈论大量发送的电子邮件。



所以我的问题非常具体:我有一个如何在内部构建系统的概念,但是发送所有这些电子邮件的最佳方法是什么?



要注意的项目符号:




  • 有时电子邮件的内容在收件人中是相同的,但是其中许多内容将被定制为每个用户(他们选择他们得到什么n我想要一个不会阻碍服务器的系统,并且将在相当长的时间内完成。我不介意使用第三方服务(即使是付费方式),如果这是将要采取的。

  • 系统应该很容易地钩入PHP或API或者任何应该比较容易让我从典型的网络服务器呼叫。

  • 我们有一个专门的服务器,并完全控制它(所以我们可以安装应用程序,服务,无论如何) / li>
  • 任何类型的详细跟踪信息(打开,点击等)都是一个巨大的加分。

  • 这些电子邮件有时是时间敏感的(所以可以' t全天要发送)。



想法?提示?指向正确的方向?






编辑



要澄清:



我可以自己做这些:




  • 维护用户列表

  • 根据用户偏好来处理电子邮件内容生成



需要其他东西(应用程序,第三方服务,w / e):




  • 接受电子邮件内容和地址,实际发送电子邮件

  • 提供跟踪数据(打开,点击等)。越来越多的细节越来越多。



我倾向于第三方服务,因为我不确定任何应用程序可以避免发送数千封电子邮件时阻塞服务器(虽然我不会认为自己是电子邮件专家,可能会出错)。

解决方案

我建议使用第三方邮件服务 Silverpop 或类似的东西。我们已经使用了他们几年,并已经相当满意。他们已经与主要电子邮件客户(AOL,Yahoo !, Gmail等)建立了关系,他们很好地告诉您,您发送的内容是否可能被归类为垃圾邮件。



他们有一个相当广泛的API,它使用可以绑定到现有系统的XML HTTP / HTTPS请求。您可以使用它来远程触发电子邮件,安排邮件,自定义电子邮件内容,设置,管理和查询大量收件人列表,运行批处理流程等。



它是这是一个完美的服务,但与其他很多人相比,他们做的很好。到目前为止,我几乎没有抱怨他们。


My company has a website built with PHP. We use the built-in PHP email functionality to send thousands of emails to subscribers on a daily basis.

This is a terrible idea. It chokes out our server, and takes hours to complete the whole batch.

Now I've looked at mass mailing services like MailChimp (which would replace our current system of sending the same email to many people), but what I think I'd really like to do is to set up a somewhat-sophisticated notification system.

Rather than send a mass email to each person each time something important happens, I'd like clients to be able to customize the rate and content of the emails that they receive.

Even using this new idea, we're talking about A LOT of emails being sent.

So my question is very specific: I have a rough idea of how to build the system internally, but what is the best way to send out all of these emails?

Bullet points to consider:

  • Sometimes emails' contents are identical across recipients, but many of them will be customized per-user (they choose what they get notified about, and sometimes it is aggregated).
  • I want a system that is not going to choke the server, and will complete in a decent amount of time. I don't mind going with a third-party service (even a paid one) if that is what it is going to take.
  • The system should hook into PHP easily, or the API or whatever should be relatively easy for me to call from your typical web server.
  • We have a dedicated server and full control over it (so we can install apps, services, whatever).
  • Any kind of detailed tracking information (opens, clicks, etc) is a huge plus.
  • These emails are sometimes time-sensitive (so can't take all day to send).

Thoughts? Tips? Point me in the right direction?


EDIT

To clarify:

I can do these on my own:

  • maintain user list
  • handle email content generation based on user preferences

And need something else (app, third-party service, w/e) to:

  • accept email content and addresses and actually send the emails out
  • provide tracking data (opens, clicks, etc). The more detail the better.

I'm leaning towards a third-party service, since I'm not sure any app can avoid choking the server when sending thousands of emails (though I wouldn't consider myself an email expert so I could be wrong).

解决方案

I'd recommend using the third party mailing service Silverpop, or something like it. We've used them for a few years and have been fairly satisfied. They already have relationships with the major email clients (AOL, Yahoo!, Gmail, etc.) and they do a good job of telling you if the stuff you're sending is likely to be classified as SPAM.

They have a fairly extensive API that uses XML HTTP/HTTPS requests that can tie in to existing systems. You can use it to remotely trigger emails, schedule mailings, customize email contents, set up, manage and query huge lists of recipients, run batch processes, etc.

It isn't a perfect service, but compared to a lot of others out there, they do pretty well. I have had very few complaints about them thus far.

这篇关于设置大型电子邮件通知系统有什么方法?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆