开发者

email notification in web app: use cron or BCC

开发者 https://www.devze.com 2023-02-15 18:43 出处:网络
I am contemplating about th开发者_运维百科e method to use. it\'s a system where there is a group with members and would like to email all members when there is a new member.

I am contemplating about th开发者_运维百科e method to use.

it's a system where there is a group with members and would like to email all members when there is a new member. Now should I create some kind of mail queue and let CRON do it? Or just put all the email addresses in the BCC.

The rules of BCC should be that it get's stripped of the email so nobody can see who it is. Standard wise it should work, the thing is...is it a good way to go?

Site is medium sized around 10-40 members per group.


Hi you should use cron jobs as it is more feasible than BCC. Cron jobs are defined on the server that can call php script to be used for sending emails. This will also help not the affect the performance of the end user and your script.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号