Problem of sending bulk email in PHP
Â
Hello everyone,
I want to send an email to many email addresses, so I am using a PHP program to send bulk mail. But there is a problem while sending them, can anyone give me some tips about this? Thanks.Â
Â
Hello everyone,
I want to send an email to many email addresses, so I am using a PHP program to send bulk mail. But there is a problem while sending them, can anyone give me some tips about this? Thanks.Â
Hi there,
Create 2 tables, one for the email message and one for the list of recipients. Then create a script to be run by cron that checks if there is a new message in the message table and if so sends a batch of email to the next set of recipients. Marking each recipient after the mail is sent.
Then you create a web interface for your client to create a message and attach recipients to the message once the user marks the message as ready to go your cron job picks it up and processes it.
If there aren't any messages to be sent your cron job doesn't do anything.