risrik Posted November 15, 2006 Share Posted November 15, 2006 Hi, When we try to send out a newsletter to our 173 customers, it times out. Some people get it but once it times out, the others don't. On a test run, we're able to send it to 2 customers without a time-out and we get the 'finished sending' page. What can be done so that all customers on the list, regardless of numbers, get the email without the manager timing out and stopping sending? Thanks! Link to comment Share on other sites More sharing options...
risrik Posted November 15, 2006 Author Share Posted November 15, 2006 We can deliver up to 50 emails without a problem (the completion page showing up). Anything more and it times out. We've tried set_time_limit(0); but it just seems to hit the 30 second default execution mark and stop processing. Is there a better way to send the emails or a way to extend the execution time before timeout? Link to comment Share on other sites More sharing options...
Guest Posted November 1, 2011 Share Posted November 1, 2011 i know this is a very old thread but i have the same issue, newsletter times out and i get OK then a whole load of code saying there was an internal server error, i check the logs and it points to general.php line 910 which is set_time_limit($limit); on our file. After hunting arround on the net i see its also used in admin/newsletter.php like 282 or something, and set to 0 so i have tried changing it to 60 but it still times out and i get the error. can anyone help? Link to comment Share on other sites More sharing options...
♥14steve14 Posted November 1, 2011 Share Posted November 1, 2011 Add the mailbeez add on and the other that is called something like mailbeez bulk mail. Edit the email templates to your liking and set the send speed and it will send. I regularly send upwards of 2000 newsletters to customers. REMEMBER BACKUP, BACKUP AND BACKUP Link to comment Share on other sites More sharing options...
npn2531 Posted November 2, 2011 Share Posted November 2, 2011 The reason it is timing out is because the shared server you are on is stopping you from overloading or 'spiking' the server you and other websites are on. OSCommerce works really well on $6/month shared servers, but when you hit send on the newsletter manager it sends the entire list all at once. Typically a shared webhost sets a limit of 250 or 500 emails an hour. There are a couple of contributions I have written http://addons.oscommerce.com/info/8120 that throttle down the speed and allow you send any size list at those speeds with no problems. Mail Manager is a stand alone contribution that also manages all the OSCommerce email functions: http://addons.oscommerce.com/info/8120 This one requires the excellent Mailbeez contribution: http://addons.oscommerce.com/info/7803 Mailbeez: http://addons.oscommerce.com/info/7425 Oscommerce site: OSC to CSS, http://addons.oscommerce.com/info/7263 -Mail Manager, http://addons.oscommerce.com/info/8120 Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.