PHP电子邮件效率(BCC与个人电子邮件) [英] PHP E-mail Efficiency (BCC vs individual e-mails)

查看:251
本文介绍了PHP电子邮件效率(BCC与个人电子邮件)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们的基于网络的PHP软件目前在1-2000个收件人之间发送通讯。通讯通常有PDF附件(15KB-5MB)。通讯不需要为个人收件人定制。

Our web-based PHP software currently sends out a newsletter to anywhere between 1-2000 recipients. Often the newsletter has a PDF attachment (15KB-5MB). The newsletter does not need to be customized to the individual recipients.

问题:最好是发送一封收件人的电子邮件复制黑碳(BCC)或为每个收件人生成唯一的电子邮件?

Question: Is it better to send one e-mail that has each recipient blind carbon copied (BCC) or to generate a unique e-mail message for each recipient?

注意事项:
- 哪个选项对邮件传输代理的压力较小?
- 哪个选项以编程方式更有效率?
- 哪个选项资源密集度较低?
- 任一选项有任何限制吗? (例如BCC有最大数量)

Considerations: - Which option puts less stress on the mail transfer agent? - Which option is more efficient programmatically? - Which option is less resource intensive? - Are there any limitations to either option? (e.g. BCC having a maximum number)

我尝试过Google,我根本找不到任何根据实证证据确定的意见。实际上很难找到任何一个有意见的人。

I've tried Google and I just can't find anyone that has a definitive opinion based on empirical evidence. It's actually hard to find anyone that has an opinion at all.

感谢:对所有贡献回答这个问题的人。非常感谢人们的反馈,以确保我们正确地做事情!

THANKS: To everyone who contributed to answering this question. Greatly appreciate the feedback from people to ensure we're doing things properly!

推荐答案

每个收件人生成一封电子邮件。使用To字段而不是BCC来使其成为个人。

Generate a single email per recipient. Use the To field instead of BCC to make it personal.

优点


  • 邮件队列将准确反映发生的情况。

  • 您可以将负载分配到多个电子邮件服务器。

  • 您可以个性化To主题正文等。

  • 您可以使用跟踪网址。

  • 邮件服务器通常每个邮件都有一个BCC限制。如果您一次发送单个消息,您不会达到极限。

  • BCC电子邮件通常保留在队列中,直到所有交货完成。这是很少见的,但是我们经历过(有了最新的qmail),有时一个收件人会响应一个错误,使邮件服务器再次发送,失败,再次失败,直到我们将其从队列中删除。这让人非常生气。

  • The mail queue will accurately reflect what is happening.
  • You can distribute the load to multiple email servers.
  • You can personalize the "To" "Subject" "Body" etc.
  • You can use tracking URL's.
  • Mail servers often have a BCC limit per message. You will not hit a limit if you send a single message at a time.
  • BCC emails typically remain in the queue until all deliveries are complete. It is rare, but we have experienced (with the latest qmail) that sometimes a single recipient will respond with an error that confuses the mail server to send it again, fail, again, fail...until we remove it from the queue. This gets people very upset.

缺点


  • PHP脚本必须更加努力地生成个人请求。

确实有其他优点和缺点,但这是列表我遵循。

There are surely other advantages and disadvantages, but that is the list I follow.

更新:关于PDF附件,建议提供下载链接,除非将电子邮件包含在内是至关重要的。

UPDATE: Regarding the PDF attachment, I would recommend providing a download link unless it is crucial to include it with the email.


  • PDF附件使电子邮件看起来更可疑为垃圾邮件/病毒扫描程序,因为垃圾邮件已知会尝试利用易受攻击的Acrobat版本。这些PDF附件可能会使您的通讯更有可能最终成为收件人的垃圾邮件文件夹。

  • 大型PDF(1 + mb)对用慢速连接或受限制的设备检查他们的电子邮件不友善例如智能手机。

  • 链接比附件小得多。如果你离开那个5MB附件,你将节省高达13GB的带宽!

这篇关于PHP电子邮件效率(BCC与个人电子邮件)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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