I want to create a script that uses the mail function like that
While(something true) {
mail($each_email,$each_subject,$each_text)
}
I noticed that the above script takes some time to send a single mail. But, the email addresses will be many and the time will increase.
Have you got any idea how to reduce the time to send the branch of emails?