Problem of sending bulk email in PHP

Asked By 30 points N/A Posted on -


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. 

Answered By 5 points N/A #165265

Problem of sending bulk email in PHP


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.

Login/Register to Answer

Related Questions