Forum Moderators: coopster

Message Too Old, No Replies

newsletter /mass email system

how to design a good mass email system

         

sid_o

8:32 am on Sep 28, 2007 (gmt 0)

10+ Year Member



Hi,
i wish to add to my site a monthly newsletter option.
what is the best way to send mass emails without being flagged as a spammer from my server & not overloading it.

joelgreen

11:03 am on Sep 28, 2007 (gmt 0)

10+ Year Member



Welcome to WebmasterWorld sid_o!
Divide all emails into chunks, and send each chunk separately. You'll need to put some pause between chunks. This can be accomplished using cron jobs or by creating php mailing script.

Try searching for newsletter scripts. Some are free. Some of them would have features you need.

sid_o

11:20 am on Sep 28, 2007 (gmt 0)

10+ Year Member



Hi, joelgreen
thanks for the reply,

i am not using cron jobs, so how can i cut the emails to chunks?
i will search for newsletter scripts,
Cheers

joelgreen

3:01 pm on Sep 28, 2007 (gmt 0)

10+ Year Member



I meant put a sleep between chunks.

For example you need to send 100 emails, and your hosting provider allows only 30 per hour. So you'll have 4 chunks (30 + 30 + 30 + 10).

Something like this (simplified)

for ($i=1; $i <= total emails; $i++) {
mail (...);
if (sent whole chunk) sleep(until next hour).
}