I'm developing a script which pulls thousands of emails out of my database for PHPMailer to send an email to.
I'm currently adding each of the emails in a loop which uses $mail->addAddress()
Is it possible to create a 5 second delay in between each email sending just to ensure there isn't a mail server overload?