Implement delay

the mail() function

Moderators: macek, egami, gesf

Post Reply
User avatar
php-forum GURU
php-forum GURU
Posts: 2196
Joined: Wed Oct 06, 2010 11:19 am
Location: Happy Valley, UT

Re: Implement delay

Post by egami » Fri Dec 14, 2012 8:44 am

I am going to go out on a limb here and say, no.

A script's maximum execution time (may or may not be modified, depends on your provider) won't allow you to do this. The only way it can be done is by using some sort of crontab and marking the email addresses as "sent" so that every 15 minutes when your script executes that it doesn't send the same email out to the same people..

Good luck.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests