简体   繁体   中英

Gathering all emails from table for email

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

So, currently, the user table 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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM