I tried sending mass mailing using php programming with SMTP method. I tried so many times to send to 1000 plus of members. But it always stop in half way. Sometimes it stop at 600th, sometimes 400th, sometimes 1000th, etc.. stop randomly.
I'm sending the mail using $mail->AddBCC() method. Sending every batch (50 emails / batch).
I add 50 email addresses to BCC , then I send it out. I loop it until 1000 plus email addresses.
I put all the email addresses in array first. Then, when I want to send it, I'll read from the array of email address. This proves that there's nothing wrong with the connection to database, right ?
I just suspect there's something wrong with the php connection, because when sending mass mailing, the page kept loading, never stop again until I press the Stop button. Is there's any solution to it ? I've tried to change the code logic and some setting/configuration.
These are the latest setting in my server :
Then I've set the php.ini file :
max_execution_time = 15000
max_input_time = 60
In httpd.conf, I set :
My Php version is 4.3.11
My Apache version is Apache/1.3.27 (Unix) (Red-Hat/Linux) PHP/4.3.11
My MySQL version is MySQL 3.23.56