批量发送电子邮件
问题描述:
我和我的小组正在开发一个事件管理系统。因此,在创建事件之后,系统必须同时向系统中的所有注册用户发送电子邮件,我一直在努力工作已经很长一段时间而且我没有赢。请帮帮我。
我的尝试:
我只能获取发送个人电子邮件的代码
Me and My group are developing an Event Management system. So After the event is created, the system must send emails to all registered users in the system simultaneously, I have been tying to work on it for quite some time now and I'm not winning. Please help me out.
What I have tried:
I have only been able to get the code for sending individual emails
答
您的小组需要做的第一件事是阅读和评估与您的语言环境有关的任何法律到SPAM。商业电子邮件确实有关于选择退出/取消订阅的规定。
美国: CAN-SPAM法案:商业合规指南|联邦贸易委员会 [ ^ ]
您可以自行推出系统;这是我的建议。
1.用户注册表格应该选择加入电子邮件。
2.发出的电子邮件应该有取消订阅机制。 />
3.发送的电子邮件应该通过队列发送以限制电子邮件费率(我做100 /分钟)
或者你可以安装一个清单-server通常会有这些机制,你可以通过API填充
更多信息: SendPulse:如何发送批量电子邮件而不发送垃圾邮件 [ ^ ]
The first thing your group needs to do is to read and evaluate any laws pertaining for your locale in regards to SPAM. Commercial email does have regulations in regards to opt-out/unsubscribe.
USA: CAN-SPAM Act: A Compliance Guide for Business | Federal Trade Commission[^]
You can roll your own system; here are my recommendations.
1. The user registration form should have an opt-in for emails.
2. The emails sent out should have an unsubscribe mechanism.
3. The emails sent should be sent via a queue to throttle email rate (I do 100/minute)
Or you could install a list-server which will generally have these mechanisms already in place, and you could populate via an API
Some more info: SendPulse: How to send bulk emails without spamming[^]