Delay email sending with php

Reply
Barbara312
Resident

I'm using a FOR loop to send emails from an array[250].

 

 

for ($counter = 0; $counter <= 250; $counter ++){

// send email function[$counter]



}

 

 

I thought about the sleep() function but since the server have limit excute time isn't an option. Please help me with this!

rc
Ambassador

The best place to ask this question is in a programming forum. You shhould provide additional information on the mail API you are using and the platform you are sending the email from,  Windows or Unix.

 

Is the question you are asking is that you want an email sent after a specific date and time?