westman Posted September 27, 2017 Share Posted September 27, 2017 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 More sharing options...
Gabrielphp Posted September 27, 2017 Share Posted September 27, 2017 I think you will find this post on stackoverflow interesting. https://stackoverflow.com/questions/1543153/is-there-a-limit-when-using-php-mail-function Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now