Jump to content

mail() max loop


Recommended Posts

I have used this code...

$to = '1@gmail.com';
$to2 = '2@gmail.com';
$to3 = '3@gmail.com';

mail($to, $subject, $message, $headers);
mail($to2, $subject, $message, $headers);
mail($to3, $subject, $message, $headers);

And it works well to send mail to many people at the same time.
I have sent mail to 20 people at the same time with this code.
My question is:
Is there a maximum number (a limit) of emails this code method will work with?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...