Possible Duplicate:
Creating an email queue in PHP?
My PHP script is sending hundreds of emails. And I want to set gap between these email sending times as 5 mins. I mean, time tap between each 2 emails should be 5 mins. Like one should be sent at 12:45am, second 12:50am and so on.
For that I have tried from command line:
at 08:10am Dec 19
echo "Welcome" | mail -s "Hello world" abc@abc.com
So this works fine, mail is sent at 08:10am. But, how can I do the same from PHP? How can I use AT command of linux from PHP?
Or there is any other easy way?