View Single Post
Old 01-01-2010, 10:49 PM   #1 (permalink)
pipesportugal
The Contributor
 
pipesportugal's Avatar
 
Join Date: May 2008
Location: Oporto-Portugal
Posts: 32
Thanks: 11
pipesportugal is on a distinguished road
Default Tips for sending large number of emails with php

Hello dear colleagues from talkPHP forum,

After sometime making routines with php I am now at the point of having the need to integrate with some of my routines the capability of sending large volume of emails (like newsletters) to people that are signed on the reserved area of our company.

I know that there are many (also free) software php tools to perform this task, but I want to do it myself and also learn the tricks of doing it.

The first problem to arrise was the fact that the host provider limits the sending of emails to a maximum very low quantity per hour.

So my request with this thread was for the programmers signed up in this forum to give their suggestions of how to overpass this server quantity limitation.

Let's imagine the following situation:
a) I need the send 3.000 newsletter emails.
b) The maximum server quantity would be for example of 200 emails per hour.

My first suggestion would be to create a cron job running at each 30 minutes sending 5 emails with 20 addresses at Bcc.
This would take 15hours to send the full 3.000 emails.

I would like to hear here at the talkphp forum some other suggestions for doing this job with the above numbers/limitations.

A fantastic 2010 to all,
pipesportugal
pipesportugal is offline  
Reply With Quote