HELP NEEDED - RE: Newsletter... :-)

I’ve signed up for a new host ( and have just found out they have in their ‘Terms of Service’ that users may only email out a max of 200 emails per minute, or they will be bounced and my account suspended. I am setting up a cart for my dad’s site (convinced him to give CS-Cart a go as I thought it was great when I got it) however, he has a current subscriber list of over 1000 and it’s expected to rise.

So onto the Question :-): How do I make it (so for example) 1 email is sent every 5 seconds? With Cs-Cart continuing until finished.

Here is an extract of the Term I need to conform to:

Anytime you’re sending a message no matter how large your e-mail list is you must throttle it. We recommend you throttle it to at the very least sending 1 email every 6 seconds. If the mailing list software you’re using does not allow you to throttle you must switch to something else. We recommend phplist which can be found in your control panel under fantastico. If you do not throttle and you try sending let’s say 500 emails the server will try sending all 500 in 1 second which is not possible. This will cause the server load to go very high and for the entire server to be sluggish until this process is completed. It is our job to keep the server up and running without being sluggish. Anyone who causes the servers load to go high will be suspended and the process will be terminated. If you choose not to throttle you will most likely be suspended for crashing the server.

Thank you for your help :slight_smile: Don’t worry… I will actually monitoring this thread unlike some others who just leave it after getting answers off nice people who took the time to reply :stuck_out_tongue:

This should solve your time restriction. Locate and edit the file addons/news_and_emails/include/admin/newsletters.php. Find and add two lines of code like the code snippet looks below. It is around line 163:

```php echo “Sending email to $eml

fn_send_mail($eml, $settings[‘Company’][‘company_newsletter_email’], ‘addons/news_and_emails/newsletter_subj.tpl’, ‘addons/news_and_emails/newsletter_body.tpl’, ‘’, $lang_code);


set_time_limit(30); ```

WOW Sculpt - can’t believe you figured out that code! Thankyou so much! :smiley: Will not be able to test it just yet as I am waiting for the new release before I install CS onto the other website (lol, fully licensed! don’t worry about that ;-D)

Perhaps CS could build in an option so you can set amount of emails per minute or something???

I am also tied by a restriction, however I think mine get added to some sort of cue not just bounced - not really looked into it yet as my subscriber list isn’t huge (yet!)