开发者

Gathering all emails from table for email

开发者 https://www.devze.com 2022-12-11 12:22 出处:网络
I would like to build a webpage that follows the system in vBulletin of emailing. So, currently, the user tabl开发者_StackOverflow社区e contains the user data: username, userfullname, useremail etc.

I would like to build a webpage that follows the system in vBulletin of emailing.

So, currently, the user tabl开发者_StackOverflow社区e contains the user data: username, userfullname, useremail etc.

Basically, what I need is for this script to gather the emails of the users from the database.

Additionally, I'd like the email to be sent out invididually, not as one bunch, in stages such as in vBulletin.

How would I go about this?


You could build a queue. Just enter those emails in a database and have a script running with cron every x minutes sending to those emails, the script should empty your queue each time it executes.

That way you can also avoid having to wait for the email function to end if you're executing in from a webpage

0

精彩评论

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