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 post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...